highCor: Identify highly correlated variables in a dataset

View source: R/misc.R

highCorR Documentation

Identify highly correlated variables in a dataset

Description

A function to identify highly correlated variables. Return a Boolean vector of highly correlated variables that can be removed from the dataset

Usage

highCor(X, cut = 0.75, method = "pearson")

Arguments

X

The input dataframe for matrix. Columns as samples and rows as features.

cut

The cutoff of correlation coefficient. The default value is 0.75

method

The method used for the calculation of correlation coefficient, either "person" (default) or "spearman".


lujunyan1118/jyluMisc documentation built on March 8, 2024, 12:17 a.m.