[R] parcor package example for adalasso.net fails.

Witold E Wolski wewolski at gmail.com
Thu Aug 15 11:56:02 CEST 2013


Hi,

I am a bit surprised that an example code from an R-package installed
from CRAN can fail:


> n<-20
> p<-10
> X<-matrix(rnorm(n*p),ncol=p)
> pc<-adalasso.net(X,k=5)
Performing local (adaptive) lasso regressions
Vertex no Error in glmnet(XXtrain, ytrain, type.gaussian = type,
standardize = FALSE) :
  x should be a matrix with 2 or more columns
>

regards

-- 
Witold Eryk Wolski



More information about the R-help mailing list