Learn R Programming

MGMM (version 0.3.1)

matCov: Covariance

Description

Calculates the correlation between two matrices.

Usage

matCov(A, B, corMat = FALSE)

Arguments

A

NxP matrix.

B

NxQ matrix.

corMat

Return correlation matrix? If false, returns a covariance matrix.

Value

Numeric matrix.