View source: R/mcee_helper_nuisance_config.R
mcee_config_lm | R Documentation |
Creates a configuration to fit nuisance parameters using linear models
via stats::lm()
. Only appropriate for continuous outcomes.
mcee_config_lm(target, formula)
target |
Character. Nuisance parameter name ("p", "q", "eta", "mu", "nu"). |
formula |
RHS-only formula (e.g., |
A configuration list for use with mcee_general
.
# Linear model for continuous outcome
cfg_eta <- mcee_config_lm("eta", ~ dp + X1 + X2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.