View source: R/normalinference.R
normal_interval | R Documentation |
This function calculates the (central) interval of a normal distribution that contains a specified probability. This interval will always extend from a certain distance below the mean to the same distance above the mean.
normal_interval(mean = 0, sd = 1, probability = 0.95)
mean |
(numeric) The mean of the normal distribution |
sd |
(numeric) The standard deviation of the normal distribution |
probability |
(numeric) The probability (area under curve) within the interval |
A numeric vector giving the lower and upper bounds of the interval containing the specified probability.
normal_interval() normal_interval(mean = 100, sd = 15, probability = 0.99)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.