controlModel | R Documentation |
controlModel
constructs a list with all necessary
control parameters in estimatePopsize
that are either specific to
selected model or do not fit anywhere else.
Specifying additional formulas should be done by using only right hand side of the formula also for now all variables from additional formulas should also be included in the "main" formula.
controlModel(
weightsAsCounts = FALSE,
omegaFormula = ~1,
alphaFormula = ~1,
piFormula = ~1
)
weightsAsCounts |
a boolean value indicating whether to treat |
omegaFormula |
a formula for inflation parameter in one inflated zero truncated and zero truncated one inflated models. |
alphaFormula |
a formula for dispersion parameter in negative binomial based models. |
piFormula |
a formula for probability parameter in pseudo hurdle zero truncated and zero truncated pseudo hurdle models. |
A list with selected parameters, it is also possible to call list directly.
Piotr Chlebicki, Maciej Beręsewicz
estimatePopsize()
controlMethod()
controlPopVar()
singleRmodels()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.