Skip to contents

Helper: perform rapid unweighted and weighted correlation

Usage

.correlation(x, w = NULL)

Arguments

x

matrix of variables over which to calculate pairwise correlations

w

vector of weights

Value

data.table with pairwise correlations