quad_disc {RMBC} | R Documentation |
quad_disc
Description
Computes the quadratic discriminant of each mixture component,
Usage
quad_disc(Y, theta.alpha, theta.mu, theta.sigma)
Arguments
Y |
A matrix of size n x p. |
theta.alpha |
The alpha values: An array of K positive real numbers they must verify the condition sum(thetaOld.mu)== 1. |
theta.mu |
The estimated centers: A list with K elements, each of them is an array of length p. |
theta.sigma |
The estimated scatter matrices: A list with K matrices, each of them has dimension p x p |
Value
A n x K matrix, where each row has the values of the quadratic discriminant with regarding to the j-th mixture component, j = 1,...,K
[Package RMBC version 0.1.0 Index]