super class for PLNPCAfamily
and PLNnetworkfamily
This class comes with a set of methods, some of them being useful for the user:
See the documentation for getBestModel
,
getModel
and plot
.
responses
the matrix of responses common to every models
covariates
the matrix of covariates common to every models
offsets
the matrix of offsets common to every models
weights
the vector of observation weights
models
a list of PLNnetworkfit
object, one per penalty.
inception
a PLNfit
object, obtained when no sparsifying penalty is applied.
criteria
a data frame with the values of some criteria (variational lower bound J, BIC, ICL and R2) for the different models.
new()
PLNfamily$new(responses, covariates, offsets, weights, control)
postTreatment()
PLNfamily$postTreatment()
getModel()
PLNfamily$getModel(var, index = NULL)
plot()
PLNfamily$plot(criteria, annotate = TRUE)
show()
PLNfamily$show()
print()
PLNfamily$print()
clone()
The objects of this class are cloneable with this method.
PLNfamily$clone(deep = FALSE)
deep
Whether to make a deep clone.