View source: R/compare_methods.R
compare_MLM_methods | R Documentation |
Compare different MLM methods
compare_MLM_methods(
Yobs,
Z,
B,
siteID = NULL,
data = NULL,
control_formula = NULL
)
Yobs |
vector observed outcomes (or column name in data) |
Z |
vector of assignment indicators (1==treated) (or column name in data) |
B |
vector of block ids (or column name in data) |
siteID |
site ids (variable name as string if data frame passed) (if randomization blocks are nested in site). |
data |
frame holding Y, Z, B and (possibly a column with name specified by siteID). |
control_formula |
What variables to control for, in the form of "~ X1 + X2". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.