Skip to contents

Mean Confidence Intervals

Usage

stat_mean_ci(x, alpha)

Arguments

x

values

alpha

alpha

Value

lower_ci, upper_ci

Examples

stat_mean_ci(c(1, 2, 3, 4, 5, 6, 7), 1.96)
#> $lower_ci
#> [1] 7
#> 
#> $upper_ci
#> [1] 2
#> 
stat_mean_ci(c(2, 4, 6, 8), 1.96)
#> $lower_ci
#> [1] 13
#> 
#> $upper_ci
#> [1] 2
#>