geom_dnorm_area: Normal Distribution Density Function

Description Usage Arguments See Also Examples

View source: R/plotting.R

Description

Plot area under the normal distribution density curve.

Usage

1
geom_dnorm_area(xmin, xmax, mean = 0, sd = 1, n = 101, ...)

Arguments

xmin

Minimum value for the x-axis

xmax

Maximum value for the x-axis

mean

Mean of the normal distribution

sd

Standard deviation of the normal distribution

n

Number of points to interpolate along

...

Arguments passed to geom_ribbon.

See Also

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

Examples

1
2
3
4
geom_dnorm_area(-2, 2)
mu <- 1
sigma <- 2
geom_dnorm_area(0, 2, mean = mu, sd = sigma)

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