covMat {scPCA} | R Documentation |
covMat
computes the sample covariance matrix of a data
set. If a variable in the dataset has zero variance, then its
corresponding row and column in the covariance matrix are zero vectors.
covMat(data, center = TRUE, scale = TRUE)
data |
The data for which to compute the sample covariance matrix. |
center |
A |
scale |
A |
the covariance matrix of the data.