coef.PLNLDAfit {PLNmodels} | R Documentation |
Extracts model coefficients from objects returned by PLNLDA()
Description
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).
Usage
## 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)
coef(myPLNLDA)
[Package PLNmodels version 1.2.0 Index]