View source: R/find_parameters_mfx.R
find_parameters.betamfx | R Documentation |
Returns the names of model parameters, like they typically
appear in the summary()
output.
## S3 method for class 'betamfx'
find_parameters(
x,
component = c("all", "conditional", "precision", "marginal", "location",
"distributional", "auxiliary"),
flatten = FALSE,
...
)
## S3 method for class 'logitmfx'
find_parameters(
x,
component = c("all", "conditional", "marginal", "location"),
flatten = FALSE,
...
)
x |
A fitted model. |
component |
Which type of parameters to return, such as parameters for the
conditional model, the zero-inflated part of the model, the dispersion
term, the instrumental variables or marginal effects be returned? Applies
to models with zero-inflated and/or dispersion formula, or to models with
instrumental variables (so called fixed-effects regressions), or models
with marginal effects from mfx. May be abbreviated. Note that the
conditional component is also called count or mean
component, depending on the model. There are three convenient shortcuts:
|
flatten |
Logical, if |
... |
Currently not used. |
A list of parameter names. The returned list may have following elements:
conditional
, the "fixed effects" part from the model.
marginal
, the marginal effects.
precision
, the precision parameter.
data(mtcars)
m <- lm(mpg ~ wt + cyl + vs, data = mtcars)
find_parameters(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.