mylars(X, y, k = 10,use.Gram=TRUE,normalize=TRUE,intercept=TRUE)
X
contain the
samples, the columns of X
contain the observed variablesk
-fold cross-validation. Default is k=10.use.Gram
=TRUE. X
be scaled? Default is normalize=TRUE.intercept=TRUE
.lambda
valuesintercept=FALSE
was specified, the intercept is set to 0.
N. Kraemer, J. Schaefer, A.-L. Boulesteix (2009) "Regularized Estimation of Large-Scale Gene Regulatory Networks with Gaussian Graphical Models", BMC Bioinformatics, 10:384
Beta2parcor
, adalasso
n<-20
p<-50
X<-matrix(rnorm(n*p),ncol=p)
y<-rnorm(n)
dummy<-mylars(X,y)
Run the code above in your browser using DataLab