Peng Yu wrote:> '?removeClass' shows that 'removeClass' is from package
> 'package:methods'. Is there a command which can show me all the
> functions and the classed defined in a package such as
> 'package:methods'?
getClasses(where=getNamespace('methods'))
showMethods(where=getNamespace('methods'))
showMethods(class='classRepresentation',
where=getNamespace('methods'))
and related
selectMethod(show, signature='classRepresentation')
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Martin Morgan
Computational Biology / Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N.
PO Box 19024 Seattle, WA 98109
Location: Arnold Building M1 B861
Phone: (206) 667-2793