View source: R/patt_ensemble.R
complier_predict | R Documentation |
Predict Compliance from control group in experimental data
complier_predict(complier.mod, exp.data, treat.var, compl.var)
complier.mod |
output from trained ensemble superlearner model |
exp.data |
|
treat.var |
string specifying the binary treatment variable |
compl.var |
string specifying binary complier variable |
data.frame
object with true compliers, predicted compliers in the
control group, and all compliers (actual + predicted).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.