normal_area_plots: Normal Distribution Density Plot with Area Shaded

Description Usage Arguments Details See Also

Description

Plot of the Normal distribution density function, with typical defaults used in introducing normal distributions, and an internal area shaded.

Usage

1
2
3
4
normal_area_plot_q(qmin, qmax, mean = 0, sd = 1, max.sd = 4,
  area_opts = list(), ...)

normal_area_plot_p(p, mean = 0, sd = 1, ...)

Arguments

qmin

Lower quantile of the shaded area

qmax

Upper quantile of the shaded area

mean

Location

sd

Scale

max.sd

The x-axis of the plot is mean + c(-1, 1) * max.sd * sd .

area_opts

Additional arguments passed to geom_dnorm_area.

...

Arguments passed to normal_plot.

p

Probabilities in the shaded area. The area is centered at the median of the distribution.

Details

normal_area_plot_q plots the density function and shades the area between qmin and qmax. normal_area_plot_p plots the density function and shades the area centered at the median such that P(lb ≤q X ≤q ub) = p.

See Also

Other Plots.of.the.normal.distribution: geom_dnorm_area; geom_dnorm_line; normal_plot; normal_tail_plot_p, normal_tail_plot_q


jrnold/ShinyIntroStats documentation built on May 19, 2019, 11:55 p.m.