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.10721356
#> Hyc  1.54338282
#> Hym  0.06451196
#> Hys -0.37538782
#> Psy  0.31355599
#> Aga  0.21532774
#> Glo  0.12541321
#> Ath  0.05304788
#> Cea  0.57370495
#> Ced  0.12241553
#> Set  0.37342935
#> All  0.08808049
#> Han  0.15481173
#> Hfo  0.32991412
#> Hsp  0.29341823
#> Hve  0.14086152
#> Sta  0.24160045