Returns list of covariates between which there are the strongest pairwise correlations

StrongestPairwiseCorrelation(data = NULL, covariates = colnames(data))

Arguments

data

Data matrix (or data frame), within which pairwise correlations will be calculated.

covariates

Character vector indicating which columns of data should be considered. By default all columns of data will be considered.

Value

A character vector containing the names of the covariates between which the strongest pairwise correlation was observed.

Author

Paul Newcombe