collapse_correlated_features | R Documentation |
Collapse correlated features
collapse_correlated_features(features, group_neg_corr = TRUE, progbar = NULL)
features |
dataframe of features for machine learning |
group_neg_corr |
Whether to group negatively correlated features together (e.g. c(0,1) and c(1,0)). |
progbar |
optional progress bar (default: |
features where perfectly correlated ones are collapsed
Zena Lapp, zenalapp@umich.edu
## Not run:
collapse_correlated_features(mikropml::otu_small[, 2:ncol(otu_small)])
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.