model_parameters.zcpglm | R Documentation |
Parameters from zero-inflated models (from packages like pscl, cplm or countreg).
## S3 method for class 'zcpglm'
model_parameters(
model,
ci = 0.95,
bootstrap = FALSE,
iterations = 1000,
component = c("all", "conditional", "zi", "zero_inflated"),
standardize = NULL,
exponentiate = FALSE,
p_adjust = NULL,
summary = getOption("parameters_summary", FALSE),
include_info = getOption("parameters_info", FALSE),
keep = NULL,
drop = NULL,
verbose = TRUE,
...
)
## S3 method for class 'mhurdle'
model_parameters(
model,
ci = 0.95,
component = c("all", "conditional", "zi", "zero_inflated", "infrequent_purchase", "ip",
"auxiliary"),
exponentiate = FALSE,
p_adjust = NULL,
keep = NULL,
drop = NULL,
verbose = TRUE,
...
)
model |
A model with zero-inflation component. |
ci |
Confidence Interval (CI) level. Default to |
bootstrap |
Should estimates be based on bootstrapped model? If
|
iterations |
The number of bootstrap replicates. This only apply in the case of bootstrapped frequentist models. |
component |
Should all parameters, parameters for the conditional model,
for the zero-inflation part of the model, or the dispersion model be returned?
Applies to models with zero-inflation and/or dispersion component. |
standardize |
The method used for standardizing the parameters. Can be
|
exponentiate |
Logical, indicating whether or not to exponentiate the
coefficients (and related confidence intervals). This is typical for
logistic regression, or more generally speaking, for models with log or
logit links. It is also recommended to use |
p_adjust |
Character vector, if not |
summary |
Deprecated, please use |
include_info |
Logical, if |
keep |
Character containing a regular expression pattern that
describes the parameters that should be included (for |
drop |
See |
verbose |
Toggle warnings and messages. |
... |
Arguments passed to or from other methods. For instance, when
|
A data frame of indices related to the model's parameters.
insight::standardize_names()
to rename
columns into a consistent, standardized naming scheme.
library(parameters)
if (require("pscl")) {
data("bioChemists")
model <- zeroinfl(art ~ fem + mar + kid5 + ment | kid5 + phd, data = bioChemists)
model_parameters(model)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.