powered by
ridge.net(X, lambda, plot.it = FALSE, scale = TRUE, k = 10,verbose=FALSE)
X
k
lambda
verbose=FALSE
ncol
http://www.biomedcentral.com/1471-2105/10/384/
ridge.cv
n<-20 p<-40 X<-matrix(rnorm(n*p),ncol=p) pc<-ridge.net(X,k=5)
Run the code above in your browser using DataLab