View source: R/normal_areas_movie.R
normal_areas_movie | R Documentation |
A movie to show how the probability that a standard normal random variable lies within plus or minus a multiple of its standard deviation (that is, 1) varies with the value of the multiple.
normal_areas_movie(starting_multiple = 1, delta_multiple = 1, ndec = 3)
starting_multiple |
A non-negative numeric scalar. The value of the multiple used in the first plot. |
delta_multiple |
A numeric scalar. The amount by which the value of the multiple is increased/decreased after one click of the +/- button. |
ndec |
The number of decimal places to which to round the probability that is superimposed on the plot. |
The value of the multiple can be changed using the +/i buttons in the panel. For the purposes of this movie, the multiple cannot be increased above a value of 5.
Nothing is returned, only the animation is produced.
stat0002movies
: general information about the movies.
normal_pdf_movie
: normal probability density function
movie.
normal_areas_movie()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.