Description Usage Arguments Value
View source: R/data_generation_functions.R
If bias type is "p" one sample will be drawn from a binomial distribution with
the probability parameter dertermined by select_prob()
based on bias strength
and size of p value.
1 | set_selection_indicator(bias_type, p_value, bias_strength, bias_table)
|
bias_type |
Bias type can either be "p" or "es". |
p_value |
p_value (one tailed) |
bias_strength |
String indicating the bias strength can be "moderate" or "severe"
passed to |
bias_table |
passed to |
TRUE if bias type is "es" (selection will then be performed later). TRUE if bias type is "p" and the draw from the binomial distribution returned 1. FALSE if bias type is "p" and the draw from the binomial distribution returned 1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.