View source: R/teaching_utils.R
ggnorm | R Documentation |
Plot the result of the pnorm
function. The syntax is the same as the pnorm
function.
ggnorm(q = NULL, mean = 0, sd = 1, lower.tail = TRUE, within = TRUE)
q |
numeric; The quantile to evaluate the |
mean |
numeric; The mean of the normal distribution |
sd |
numeric; The standard deviation of the normal distribution |
lower.tail |
logical; if TRUE (default), probabilities are |
ggplot object
ggnorm(0.5, 0, 1, lower.tail = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.