pooled_vc | R Documentation |
This function computes the group variance-covariance matrices, and produces a weighted average. It is useful for examining the linear discriminant analysis model.
pooled_vc(x, cl, prior = rep(1/length(unique(cl)), length(unique(cl))))
x |
multivariate data set, matrix. |
cl |
class variable |
prior |
prior probability for each class, must sum to 1, default all equal |
matrix
data(clusters)
pooled_vc(clusters[,1:5], clusters$cl)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.