Dear R users, Hi. I want know R code of a function: predict.cv.glmnet (which is included in glmnet package). Could you let me know how I can see the R code of the function? Thank you, Soyeon Kim
See help for getAnywhere() Kevin On Thu, Apr 14, 2011 at 11:24 AM, Soyeon Kim <yunni0731@gmail.com> wrote:> Dear R users, > > Hi. I want know R code of a function: predict.cv.glmnet (which is > included in glmnet package). > Could you let me know how I can see the R code of the function? > > Thank you, > Soyeon Kim > > ______________________________________________ > 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. >[[alternative HTML version deleted]]
Just type the name of your function without (). Or use fix(<functioname>). Or do you need to do something more complicated? HTH Jannis --- Soyeon Kim <yunni0731 at gmail.com> schrieb am Do, 14.4.2011:> Von: Soyeon Kim <yunni0731 at gmail.com> > Betreff: [R] How to see a R code from a package? > An: r-help at r-project.org > Datum: Donnerstag, 14. April, 2011 16:24 Uhr > Dear R users, > > Hi. I want know R code of a function: predict.cv.glmnet > (which is > included in glmnet package). > Could you let me know how I can see the R code of the > function? > > Thank you, > Soyeon Kim > > ______________________________________________ > 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. >
Apparently Analagous Threads
- how to get a value from a list (using paste function)?
- How to change leaf color by group in hclust plot or how to install A2R package in windows?
- prediction error in ROCR package when sampled y consists of only one class
- how to seperate " "? or how to do regression on each variable when I have multiple variables?
- Opposite of paste function