ggplot_confints: Create simulated confidence intervals

View source: R/ggplot_confints.R

ggplot_confintsR Documentation

Create simulated confidence intervals

Description

Simulation of Frequentist confidence intervals of the mean of normally-distributed data.

Usage

ggplot_confints(n_intervals, n_samples, alpha = 0.05, pop_mean = 0, pop_sd = 1)

Arguments

n_intervals

The number of intervals to generate.

n_samples

The sample size for the confidence intervals.

alpha

Confidence level

pop_mean

Population

pop_sd

population standard deviation


michaelfrancenelson/mfn.teaching.utils documentation built on Oct. 7, 2022, 1:13 a.m.