Learn R Programming

emil (version 2.2.10)

fit_lda: Fit linear discriminant

Description

Wrapper for the MASS package implementation.

Usage

fit_lda(x, y, ...)

Arguments

x

Dataset, numerical matrix with observations as rows.

y

Class labels, factor.

...

Sent to lda.

Value

Fitted linear discriminant.

References

Venables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S. Fourth edition. Springer.

Ripley, B. D. (1996) Pattern Recognition and Neural Networks. Cambridge University Press.

See Also

emil, predict_lda, modeling_procedure