Description Usage Arguments Value
Generate synthetic sample of a policy
1 | synthesize(pol, seed = round(stats::runif(1) * 10000))
|
pol |
policy object |
seed |
(Optional) random seed to set before generating synthetic observations |
new policy object with the treatment and outcome columns in
$data
updated with synthetic samples based on estimated values of
ptrt__
, resp_ctl__
, and resp_trt__
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.