get_boot_ci | R Documentation |
Get Boot CI The function gets participant-level scores, and calculates a bootstrapped confidence interval (CI) on the group-level statistic
get_boot_ci(scores, ci_level = 95, ci_reps = 0)
scores |
participant-level scores |
ci_level |
- The confidence level (in percents, e.g. setting the argument to 50 generates a 50 to use when computing the bootstrapped confidence interval on the group-level statistic (see the return value 'ci', and the argument 'ci_reps'). The default value of this argument is 95, that would lead to computing the 95 the group-level statistic. |
ci_reps |
- The number repetitions to use when computing the bootstrapped confidence interval around the group-level statistic. The default value of this argument is zero, which would lead to not computing the confidence interval at all. |
a vector with the ci values (lower bound, upper bound) according to the given confidence level ('ci_level'). If 'ci_reps' is set to zero, the function returns NA.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.