Learn R Programming

aurelius (version 0.8.4)

extract_params.lda: extract_params.lda

Description

Extract linear discriminant model parameters from a model created by the lda() function

Usage

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

Arguments

object

an object of class "lda"

...

further arguments passed to or from other methods

Value

PFA as a list-of-lists that can be inserted into a cell or pool

Examples

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

Run the code above in your browser using DataLab