gen_Yobs | R Documentation |
Takes in a full dataset of both observed and latent potential outcomes and the treatment assignment vector, and returns only the observed outcomes.
This function is beyond the main scope of calculating power, and is instead used for simulating data. For more info on use, see the simulation vignette.
gen_Yobs(full.data, T.x)
full.data |
data.frame; full dataset of potential outcomes. |
T.x |
vector; binary assignment to treat/control. |
vector; observed outcomes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.