| ZIPLNfit_diagonal {PLNmodels} | R Documentation |
An R6 Class to represent a ZIPLNfit in a standard, general framework, with diagonal residual covariance
Description
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
Super class
PLNmodels::ZIPLNfit -> ZIPLNfit_diagonal
Active bindings
nb_param_plnnumber of parameters in the PLN part of the current model
vcov_modelcharacter: the model used for the residual covariance
Methods
Public methods
Inherited methods
Method new()
Initialize a ZIPLNfit_diagonal model
Usage
ZIPLNfit_diagonal$new(data, control)
Arguments
dataa named list used internally to carry the data matrices
controla list for controlling the optimization. See details.
Method clone()
The objects of this class are cloneable with this method.
Usage
ZIPLNfit_diagonal$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Examples
## 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(covariance = "diagonal"))
class(myPLN)
print(myPLN)
## End(Not run)
[Package PLNmodels version 1.2.0 Index]