cov.x {sSDR} | R Documentation |
Covariance matrix
cov.x(X)
X |
a n x p matrix of n observations and p predictors. |
This function returns A p x p covariance matrix for any n x p matrix.
A p x p covariance matrix.
data <- gen.data(n=100)
x.cov <- cov.x(data$X)