geom_dnorm_line: Area Under the Normal Distribution Density Function

Description Usage Arguments See Also Examples

View source: R/plotting.R

Description

Plot the normal distribution density function.

Usage

1
geom_dnorm_line(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_line.

See Also

Other Plots.of.the.normal.distribution: geom_dnorm_area; 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_line(-4, 4)
mu <- 2
sigma <- 3
geom_dnorm_line(mu - 3 * sigma, mu + 3 * sigma, mean = mu, sd = sigma)

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