Description Usage Arguments See Also Examples
Visualize how changes in mean and standard deviation affect the shape of the normal distribution. Compute & visualize quantiles out of given probability and probability from a given quantile.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
mean |
Mean of the normal distribution. |
sd |
Standard deviation of the normal distribution. |
print_plot |
logical; if |
probs |
Probability value. |
type |
Lower tail, upper tail or both. |
perc |
Quantile value. |
1 2 3 4 5 6 7 8 9 10 11 12 13 | # visualize normal distribution
vdist_normal_plot()
vdist_normal_plot(mean = 2, sd = 0.6)
# visualize quantiles out of given probability
vdist_normal_perc(0.95, mean = 2, sd = 1.36)
vdist_normal_perc(0.3, mean = 2, sd = 1.36, type = 'upper')
vdist_normal_perc(0.95, mean = 2, sd = 1.36, type = 'both')
# visualize probability from a given quantile
vdist_normal_prob(3.78, mean = 2, sd = 1.36)
vdist_normal_prob(3.43, mean = 2, sd = 1.36, type = 'upper')
vdist_normal_prob(c(-1.74, 1.83), type = 'both')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.