R/ZIPLNfit-class.R
ZIPLNfit_diagonal.Rd
An R6 Class to represent a ZIPLNfit in a standard, general framework, with diagonal residual covariance
An R6 Class to represent a ZIPLNfit in a standard, general framework, with diagonal residual covariance
PLNmodels::ZIPLNfit
-> ZIPLNfit_diagonal
nb_param_pln
number of parameters in the PLN part of the current model
vcov_model
character: the model used for the residual covariance
if (FALSE) { # \dontrun{
# See other examples in function ZIPLN
data(trichoptera)
trichoptera <- prepare_data(trichoptera$Abundance, trichoptera$Covariate)
myPLN <- ZIPLN(Abundance ~ 1, data = trichoptera, control = ZIPLN_param(covariance = "diagonal"))
class(myPLN)
print(myPLN)
} # }