On 15/08/2013 10:56, Witold E Wolski wrote:
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
Why are you surprised? See
http://cran.r-project.org/web/checks/check_results_parcor.html
and note that glmnet was updated recently.
Complaints to the parcor 'maintainer' only ... she is not responding to
notifications and the package is scheduled to be archived shortly.
--
Brian D. Ripley, rip...@stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
______________________________________________
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.