View source: R/overview_effects.R
| overview_effects | R Documentation |
This function gives an overview of the effect names, whether the covariate is alternative-specific, whether the coefficient is alternative-specific, and whether it is a random effect.
overview_effects(
form,
re = NULL,
alternatives,
base = tail(alternatives, 1),
ordered = FALSE
)
form |
[
Multiple covariates (of one type) are separated by a In the ordered probit model ( |
re |
[ |
alternatives |
[ If |
base |
[ Ignored and set to By default, |
ordered |
[ |
A data.frame, each row is a effect, columns are the effect name
"effect", and booleans whether the covariate is alternative-specific
"as_value", whether the coefficient is alternative-specific
"as_coef", and whether it is a random effect "random".
check_form() for checking the model formula specification.
overview_effects(
form = choice ~ price + time + comfort + change | 1,
re = c("price", "time"),
alternatives = c("A", "B"),
base = "A"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.