On 11/19/2012 04:21 PM, Andrea Spano wrote:
Hello the list,
As a simple example:
rm(list = ls())> setClass("tre", representation(x="numeric"))> setMethod("show", "tre", def = function(object) cat(object@x))[1] "show">
setMethod("summary", "tre", def = function(object) cat("This is a tre of v
Hello the list,
As a simple example:
> rm(list = ls())> setClass("tre", representation(x="numeric"))>
> setMethod("show", "tre", def = function(object) cat(object@x))[1] "show">
> setMethod("summary", "tre", def = function(object) cat("This is a tre of
> value ", object@x, "\n"))Creating a ge
2 matches
Mail list logo