The method for objects returned by PLNLDA() only returns coefficients associated to the $$\Theta$$ part of the model (see the PLNLDA vignette for mathematical details).

# S3 method for class 'PLNLDAfit'
coef(object, ...)

Arguments

object

an R6 object with class PLNLDAfit

...

additional parameters for S3 compatibility. Not used

Value

Either NULL or a matrix of coefficients extracted from the PLNLDAfit model.

Examples

data(trichoptera)
trichoptera <- prepare_data(trichoptera$Abundance, trichoptera$Covariate)
myPLNLDA <- PLNLDA(Abundance ~ Wind, grouping = Group, data = trichoptera)
#> 
#>  Performing discriminant Analysis...
#>  DONE!
coef(myPLNLDA)
#>            Wind
#> Che -0.10722653
#> Hyc  1.58378097
#> Hym  0.06458878
#> Hys -0.37467498
#> Psy  0.31466515
#> Aga  0.21659440
#> Glo  0.12455274
#> Ath  0.05324857
#> Cea  0.57210546
#> Ced  0.12280471
#> Set  0.37218442
#> All  0.09077603
#> Han  0.15555793
#> Hfo  0.33316840
#> Hsp  0.29414887
#> Hve  0.13956683
#> Sta  0.24246016