Learn R Programming

rrcov (version 0.4-08)

LdaClassic: Linear Discriminant Analysis

Description

Performs a linear discriminant analysis and returns the results as an object of class LdaClassic (aka constructor).

Usage

LdaClassic(x, ...)## S3 method for class 'default':
LdaClassic(x, grouping, prior = proportions, tol = 1.0e-4, ...)

Arguments

x
a matrix or data frame containing the explanatory variables (training set).
grouping
grouping variable: a factor specifying the class for each observation.
prior
prior probabilities, default to the class proportions for the training set.
tol
tolerance
...
arguments passed to or from other methods.

Value

  • Returns an S4 object of class LdaClassic

See Also

Lda-class, LdaClassic-class,