| .recode_treatment | R Documentation |
Recode a raw treatment vector to 0/1, recording the level map used
.recode_treatment(raw)
raw |
Raw treatment vector: numeric 0/1, logical, or a two-level factor/character vector. |
A list with A (integer 0/1 vector) and levels (named integer
vector mapping each original level/label to 0 or 1; for numeric input the
names are "0" and "1", and for logical input "FALSE" and "TRUE").
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.