Re: [Rd] How to import S3 method

2014-03-05 Thread Michael Weylandt
On Mar 4, 2014, at 10:21, "Wang, Zhu" wrote: > Dear Helpers, > > I wanted to import an S3 method from package glmnet to my own R package. > Specifically, I tried the following: > > plot.glmreg=function(x, xvar=c("norm","lambda","dev"),label=FALSE,shade=TRUE, > ...) UseMethod("glmnet") > >

[Rd] How to import S3 method

2014-03-05 Thread Wang, Zhu
Dear Helpers, I wanted to import an S3 method from package glmnet to my own R package. Specifically, I tried the following: plot.glmreg=function(x, xvar=c("norm","lambda","dev"),label=FALSE,shade=TRUE, ...) UseMethod("glmnet") I got the following message when installing my package: Error : ob