recode.agent | R Documentation |
Assigns agent or class variables numeric identifiers
recode.agent(data.ab, level = "agent")
data.ab |
A data frame of arm-level data in "long" format containing the columns:
|
level |
Can take either |
Also relabels the agent for any arms in which dose = 0 to "Placebo_0"
A list containing a data frame with recoded agent/class identifiers and a character vector of original agent/class names
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.