cov_list {sparsediscrim} | R Documentation |
Computes the covariance-matrix maximum likelihood estimators for each class and returns a list.
Description
For a sample matrix, x
, we compute the MLE for the covariance matrix
for each class given in the vector, y
.
Usage
cov_list(x, y)
Arguments
x |
data matrix with |
y |
class labels for observations (rows) in |
Value
list of the sample covariance matrices of size p \times p
for
each class given in y
.
[Package sparsediscrim version 0.3.0 Index]