Description Usage Arguments Value Examples
View source: R/mb-proportions.R
mb_proportions
calculates lower/equivalent/higher difference
proportions between two groups
1 2 3 4 5 6 7 8 9 10 | mb_proportions(
group_a,
group_b,
paired = FALSE,
SESOI_lower = 0,
SESOI_upper = 0,
method = "algebraic",
na.rm = FALSE,
use_normal_distribution = FALSE
)
|
group_a |
Numeric vector. This group represents baseline/control, observed variable, Pre-test in the paired design, or "practical" measure |
group_b |
Numeric vector. This group represents experimental, predicted variable, Post-test in the paired design, or "criterion" measure |
paired |
Paired groups? Default is |
SESOI_lower |
Lower smallest effect size of interest threshold |
SESOI_upper |
Upper smallest effect size of interest threshold |
method |
Select "brute-force" or "algebraic" method to calculate proportions. Default is "algebraic" |
na.rm |
Should NAs be removed? Default is |
use_normal_distribution |
When estimating proportions algebraically, should normal or t-distribution
be used. Default is |
Data frame with lower, equivalent and higher columns
1 | mb_proportions(rnorm(100), rnorm(100))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.