natural_course | R Documentation |
This function specifies the natural course intervention on the treatment variable in data
.
natural_course(data, treat_var)
data |
a data frame containing the observed data. |
treat_var |
a string specifying the treatment variable in |
a vector containing the intervened values of the same size as the number of rows in data
.
data <- gfoRmulaICE::compData
natural_course <- natural_course(data = data, treat_var = "A1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.