tidy.LDA: Implementation of broom::tidy() for LDA objects

Description Usage Arguments Value Examples

View source: R/tidy.R

Description

Produces a summary of an LDA object, expressed as a data.frame

Usage

1

Arguments

L

an LDA object, as produced by LDA()

Value

a data.frame with LDA component loadings

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
model <- LDA( Species ~ ., iris )
broom::tidy( model )
##       Feature      LDA1        LDA2
## 1 Sepal.Length  0.626970 -0.01449191
## 2  Sepal.Width  1.181041 -2.14917074
## 3 Petal.Length -2.135565  0.52600987
## 4  Petal.Width -1.828151 -1.89227871
##  

## End(Not run)

ArtemSokolov/linproj documentation built on May 7, 2019, 1:22 p.m.