Displaying 1 result from an estimated 1 matches for "digits2".
Did you mean:
digits
2011 Feb 07
1
Seeking help to define s4 method for 'print'
I have got another question on defining a method for print() function for my
s4 class. Here is my class definition as well as what I have done till now:
> setClass("Me", representation(x1 = "numeric", x2 = "numeric", y1 =
"character"))
[1] "Me"
> setMethod("print", "Me", definition=function(x) {
+ cat("Values