| coef.metafrontier | R Documentation |
Extract Coefficients from a Metafrontier Model
## S3 method for class 'metafrontier'
coef(object, which = c("meta", "group"), extraPar = FALSE, ...)
object |
a |
which |
character. |
extraPar |
logical. If |
... |
additional arguments (currently unused). |
A named numeric vector (which = "meta") or a named
list of numeric vectors (which = "group").
sim <- simulate_metafrontier(n_groups = 2, n_per_group = 50, seed = 42)
fit <- metafrontier(log_y ~ log_x1 + log_x2, data = sim$data,
group = "group", meta_type = "stochastic")
coef(fit)
coef(fit, extraPar = TRUE)
coef(fit, which = "group", extraPar = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.