Description Usage Arguments Value
View source: R/outcome_statistic.R
stat_dem
computes the mean Democrats, stat_Z
computes the sample proportion
of the simulated oucome Z
, stat_Y
the mean of the simulated continuous variable
Y
.
1 2 3 4 5 |
tbl |
A dataframe with the variable pid3_leaner |
A scalar, in this case the proportion of Democrats (including leaners)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.