Learn R Programming

aurelius (version 0.8.4)

build_model.lda: build_model.lda

Description

Builds an entire PFA list of lists based on a lda() fit

Usage

# S3 method for lda
build_model(object, ...)

Arguments

object

a object of class lda

...

further arguments passed to or from other methods

Value

a list of lists representation of the linear discriminant model that can be inserted into a cell or pool

Examples

Run this code
model <- MASS::lda(Species ~ ., data=iris)
model_built <- build_model(model)

Run the code above in your browser using DataLab