qdaClassification: qdaClassification

View source: R/qdaClassification.R

qdaClassificationR Documentation

qdaClassification

Description

Gives quadratic discriminant scores to the points in data for a multivariate normal.

Usage

qdaClassification(normal, data)

Arguments

normal

A list with arguments mean, covaruance and weight.

data

Data frame or matrix on which to perform qda.

Value

A score for each point.

Examples

data.qda = cbind(rnorm(50), rnorm(50))
exp(qdaClassification(list(mean = c(0,0), cov = diag(1,2), weight = 1), data.qda))


HristoInouzhe/optimalFlow documentation built on April 23, 2023, 5:45 p.m.