Description Usage Arguments See Also Examples
Plot the normal distribution density function.
1 | geom_dnorm_line(xmin, xmax, mean = 0, sd = 1, n = 101, ...)
|
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 |
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
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.