View source: R/qdaClassification.R
qdaClassification | R Documentation |
Gives quadratic discriminant scores to the points in data for a multivariate normal.
qdaClassification(normal, data)
normal |
A list with arguments mean, covaruance and weight. |
data |
Data frame or matrix on which to perform qda. |
A score for each point.
data.qda = cbind(rnorm(50), rnorm(50))
exp(qdaClassification(list(mean = c(0,0), cov = diag(1,2), weight = 1), data.qda))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.