View source: R/stats_forward_selection.R
fs | R Documentation |
Perform forward variable selection with or without OMP
fs(X, y, omp = FALSE)
X |
matrix of predictors |
y |
response vector |
omp |
whether to use orthogonal matching pursuit (OMP) |
vector with jth component the variable added at step j
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.