Description Usage Arguments Value
View source: R/extract.features.v2.R
Extracts features from models that have been previously fit.
1 2 |
x |
Previously fitted model |
dat |
Numeric variable data used for fitted models (In appropriate format) |
grp |
Vector of training classes |
method |
String indicating the INDIVIDUAL model being extracted from |
model.features |
Logical argument dictating if features selected determined by models instead of user determined number of features. |
bestTune |
If |
f |
Number of features to subset |
comp.catch |
An internal check for plsda models. If the optimal model contains only 1 component, the ncomp paramter must be set to 2 for the model. However, features are still extracted only from the first component. |
Returns list of the features selected from the fitted model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.