Thanks for that, Vito. Somehow, I often get lost in the whole slew of similar methods: * get * getMethod * showMethods * getAnywhere * methods
Does anybody have a simple list of when to use which one? And maybe I'm even missing some variants? Thx. Nick. -----Original Message----- From: Vito Muggeo (UniPa) [mailto:vito.mug...@unipa.it] Sent: vrijdag 28 januari 2011 14:42 To: Nick Sabbe Cc: r-help@r-project.org Subject: Re: [R] plot not generic dear Nick, getAnywhere("plot.glmnet") Note the message you get when you type methods(plot) ... >>> Non-visible functions are asterisked Il 28/01/2011 14.26, Nick Sabbe ha scritto: > Hello list. > > > > I was trying to see some of the code for plot.glmnet in package glmnet (this > function name is in the documentation). > > After loading the library, I tried the obvious typing in the name, but I > received a message telling me it could not be found. > > > > So I fiddled around a little, and noticed that R does not recognize 'plot' > as a generic function, and as such, showMethods does not work. > > This seems to conflict with the documentation for plot. > > > > So 2 questions: > > . How can I find the code of plot.glmnet > > . Why is plot not seen as generic? > > > > Thx. > > > > Nick Sabbe > > -- > > ping: nick.sa...@ugent.be > > link:<http://biomath.ugent.be/> http://biomath.ugent.be > > wink: A1.056, Coupure Links 653, 9000 Gent > > ring: 09/264.59.36 > > > > -- Do Not Disapprove > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@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. > -- ==================================== Vito M.R. Muggeo Dip.to Sc Statist e Matem `Vianelli' Università di Palermo viale delle Scienze, edificio 13 90128 Palermo - ITALY tel: 091 23895240 fax: 091 485726/485612 http://dssm.unipa.it/vmuggeo ==================================== ______________________________________________ R-help@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.