[R] "cv.glmnet" object

Joshua Wiley jwiley.psych at gmail.com
Thu Mar 29 07:36:24 CEST 2012


Hi,

It should be a matrix of the explanatory variables.  Is that really all your question?  Did you look at the help for ?glmnet it shows several examples that may help you understand how to use it.  You can also find useful papers online from the authors of the book "Elements of Statistical Learning"

Cheers,

Josh

On Mar 28, 2012, at 18:40, yx78 <yangxu78 at gmail.com> wrote:

> dose anybody know
> In  "cv.glmnet" object 
> say
> fit=cv.glmnet(x,y)
> 
> what is matrix "x", if it is a data frame or something else
> thanks a lot
> 
> 
> --
> View this message in context: http://r.789695.n4.nabble.com/cv-glmnet-object-tp4514236p4514236.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> 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.



More information about the R-help mailing list