partCov: calculates the matrix of sums of products of distance to the...

Description Usage Arguments Value

View source: R/partCov.R

Description

used as a piece of the global covariance matrix the client sums all these local matrices and divides them by N-1 -> cov matrix

Usage

1
partCov(x, means = NULL, collist = NULL)

Arguments

x

a data frame of matrix

means

a vector of global means (one for each dimension)

collist

a vector, subset of columns to use

na.rm

logical remove NAs?

Value

a matrix of the sums of products for all pairs of dimensions


IulianD/dsSwissKnife documentation built on Nov. 12, 2020, 7:11 a.m.