Global options from the modelbased package
Global options to set defaults for function arguments
For calculating marginal means
options(modelbased_backend = <string>)
will set a default value for thebackend
argument and can be used to set the package used by default to calculate marginal means. Can be"marginaleffects"
or"emmeans"
.options(modelbased_estimate = <string>)
will set a default value for theestimate
argument, which modulates the type of target population predictions refer to.modelbased_integer
:options(modelbased_integer = <value>)
will set the minimum number of unique values in an integer predictor to treat that predictor as a "discrete integer" or as continuous. If the integer has more thanmodelbased_integer
unique values, it is treated as continuous. Set toTRUE
to always treat integer predictors as continuous.
For printing
options(modelbased_select = <string>)
will set a default value for theselect
argument and can be used to define a custom default layout for printing.options(modelbased_include_grid = TRUE)
will set a default value for theinclude_grid
argument and can be used to include data grids in the output by default or not.options(modelbased_full_labels = FALSE)
will remove redundant (duplicated) labels from rows.
For plotting
options(modelbased_join_dots = <logical>)
will set a default value for thejoin_dots
.options(modelbased_numeric_as_discrete = <number>)
will set a default value for themodelbased_numeric_as_discrete
argument. Can also beFALSE
.