lassocv.Rd
Lasso with cross validation
lassocv(y, x)
response
the design matrix
betahat: the estimated regression coefficient vector
data = genevar() y = data$y x = data$x fit = lassocv(y,x)