search for: mymeth

Displaying 1 result from an estimated 1 matches for "mymeth".

Did you mean: mymeta
2005 Jun 02
1
showMethods doubt
Hi, I'm developing in S4 and I wanted to see the methods for a specific class using showMethods but I didn't succed. Can someone help ? See the example below. setClass("myclass", representation( name ="character" ) ) setGeneric("mymeth", function(obj, ...){ standardGeneric("mymeth") } ) setMethod("mymeth", signature("myclass"), function(obj){ print(paste("Hi,", obj at name, "and I don't know what to do with showMethods !")) } ) Now if you do: > myobj <- new...