Learn R Programming

CSUV (version 0.1.1)

get.compare.methods: Get a list of variable selection methods implemented in the CSUV package

Description

Get a list of variable selection methods implemented in the CSUV package

Usage

get.compare.methods()

Arguments

Value

a list of functions

Examples

Run this code
# NOT RUN {
X = matrix(rnorm(1000), nrow = 100)
Y = rowSums(X[,1:3])+rnorm(100)
lasso.method = get.compare.methods()$lasso
lasso.mod = lasso.method(X, Y, intercept = FALSE)
print(lasso.mod$est.b)
# }

Run the code above in your browser using DataLab