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

Description Usage Value Examples

View source: R/compare_method.r

Description

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

Usage

1

Value

a list of functions

Examples

1
2
3
4
5
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)

christineyuen/VSC documentation built on Oct. 8, 2019, 10:45 a.m.