Description Usage Arguments Details Value See Also Examples
creates dataset for two binomial proportions
1 2 |
n |
integer, number of observation per group, 1:1 ratio assumed |
pc |
numeric, probability of event in group 'c' |
pt |
numeric, probability of event in group 't' |
add_x |
logic, Default: FALSE, specifies whether to add binarry variable x |
xs_y0 |
numeric, Default: 0.6, for strong correlation between x and y, define conditional probability of x given y=0 |
xs_y1 |
numeric, Default: 0.2, for strong correlation between x and y, define conditional probability of x given y=1 |
xw |
numeric, Default: 0.6, for weak correlation between x and y, define prrobability of x (irrespective of the value of y) |
add_xcont |
logic, Default: FALSE, specifies whether to add continuous variable x |
DETAILS
OUTPUT_DESCRIPTION
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.