lda: Linear discriminant analysis.

Description Usage Arguments Value See Also Examples

Description

lda performs Linear discriminant analysis on FLTable objects. The DB Lytix function called is FLLDA. Performs Linear discriminant analysis and stores the results in predefined tables.

Usage

1

Arguments

formula

A formula of the form groups ~ x1 + x2 + ... That is, the response is the grouping factor and the right hand side specifies the (non-factor) discriminators.

data

An object of class FLTable or FLTableMD.

Value

LDA returns an object of class FLLDA

See Also

lda for R reference implementation.

Examples

1
2
3
4
5
tbl <- FLTable("tblLDA", "OBSID", "VARID", "NUM_VAL")
flmod <- lda(a~. , data = tbl)
flmod$scaling, flmod$means;cof <-coefficients(flmod)
predict(flmod): Not implemented yet.
plot(flmod)

Fuzzy-Logix/AdapteR documentation built on May 6, 2019, 5:07 p.m.