R/helper-cov.r
cov_list.RdFor a sample matrix, x, we compute the MLE for the covariance matrix
for each class given in the vector, y.
cov_list(x, y)
| x | data matrix with |
|---|---|
| y | class labels for observations (rows) in |
list of the sample covariance matrices of size \(p \times p\) for
each class given in y.