| ZIPLNfit_fixed | R Documentation |
An R6 Class to represent a ZIPLNfit in a standard, general framework, with fixed (inverse) residual covariance
An R6 Class to represent a ZIPLNfit in a standard, general framework, with fixed (inverse) residual covariance
PLNmodels::ZIPLNfit -> ZIPLNfit_fixed
nb_param_plnnumber of parameters in the PLN part of the current model
vcov_modelcharacter: the model used for the residual covariance
new()Initialize a ZIPLNfit_fixed model
ZIPLNfit_fixed$new(data, control)
dataa named list used internally to carry the data matrices
controla list for controlling the optimization. See details.
clone()The objects of this class are cloneable with this method.
ZIPLNfit_fixed$clone(deep = FALSE)
deepWhether to make a deep clone.
## Not run:
# See other examples in function ZIPLN
data(trichoptera)
trichoptera <- prepare_data(trichoptera$Abundance, trichoptera$Covariate)
myPLN <- ZIPLN(Abundance ~ 1, data = trichoptera,
control = ZIPLN_param(Omega = diag(ncol(trichoptera$Abundance))))
class(myPLN)
print(myPLN)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.