Learn R Programming

LDABiplots (version 0.1.2)

dtmcorr: Pearson Correlation for Sparse Matrices

Description

Pearson Correlation for Sparse Matrices. More memory and time-efficient than cor(as.matrix(x)).

Usage

dtmcorr(x)

Value

a correlation matrix

Arguments

x

A matrix, potentially a sparse matrix such as a "dgCMatrix" object