Description Usage Arguments Details Value
generateData
Generates data based on a user specified distribution.
1 | generateData(n, Q_W, g_A, Q_Y, abar = NULL)
|
n |
Number of observations to generate. |
Q_W |
Function for generating W. |
g_A |
Function for generating A. |
Q_Y |
Function for generating Y. |
abar |
Whether to generate a post-intervention distribution (and if so, the specified one), or to just generate the observed distribution. |
Details
generateData
returns a data.frame
object, which contains realized observations from the user specified distribution.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.