| collapse_correlated_features | R Documentation |
Collapse correlated features
collapse_correlated_features(
features,
group_neg_corr = TRUE,
corr_method = "spearman",
corr_thresh = 1,
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)). |
corr_method |
Correlation method. Options are the same as those supported
by |
corr_thresh |
group correlations above or equal to |
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.