prune_corr: Iterative prunning of a set of variables by a certain...

Description Usage Arguments

View source: R/prune_corr.R

Description

Iterative prunning of a set of variables by a certain correlation threshold.

Usage

1
prune_corr(thedata, threshold = 0.8, iterations = 10)

Arguments

thedata

A numeric matrix of variables

threshold

The threshold of correlation coefficient. Default 0.8

iterations

The algorithm function will stop when no more variables are correlated over the specificed threshold or given a number of iterations. This is importante for big datasets with thousands of variables, which perhaps is not that appropriate for the function.


MoisesExpositoAlonso/moiR documentation built on Dec. 24, 2021, 10:12 p.m.