mean_ci_bal: Perform a one-sample balanced bootstrap using mean as the...

View source: R/ggplot_functions.R

mean_ci_balR Documentation

Perform a one-sample balanced bootstrap using mean as the sampling statistic - output designed for stat_summary in ggplot

Description

Perform a one-sample balanced bootstrap using mean as the sampling statistic - output designed for stat_summary in ggplot

Usage

mean_ci_bal(x, n = 10000, ci = 95)

Arguments

x

Dataset, a numerical vector.

n

Number of bootstrap replicates to perform.

ci

Width of the confidence interval in percents. Defaults to 95.


JackAHutchings/jahrfun documentation built on June 8, 2025, 3:09 a.m.