Description Usage Arguments Value Author(s) Examples
Based on Meinshausen and Buehlmann (2009)
1 2 |
x |
The design matrix |
y |
The response vector |
weakness |
The weakness parameter |
subsample |
The data subsample (default: none) |
dfmax |
The maxiumum number of degrees of freedom |
lambda |
The regularisation parameter |
standardize |
Indicator, wheter to standardize the design matrix |
intercept |
Indicator, whether to fit an intercept |
... |
Additional arguments to |
A glmnet
object
Fabian Schmich
1 2 3 | y <- rnorm(50)
x <- matrix(runif(50 * 20), ncol = 20)
lasso.rand(x = x, y = y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.