find_parameters.emmGrid {insight} | R Documentation |
Find model parameters from estimated marginal means objects
Description
Returns the parameter names from a model.
Usage
## S3 method for class 'emmGrid'
find_parameters(x, flatten = FALSE, merge_parameters = FALSE, ...)
Arguments
x |
A fitted model. |
flatten |
Logical, if |
merge_parameters |
Logical, if |
... |
Currently not used. |
Value
A list of parameter names. For simple models, only one list-element,
conditional
, is returned.
Examples
data(mtcars)
model <- lm(mpg ~ wt * factor(cyl), data = mtcars)
emm <- emmeans(model, c("wt", "cyl"))
find_parameters(emm)
[Package insight version 0.20.2 Index]