Description Usage Arguments Details Value See Also Examples
View source: R/normal_areas_movie.R
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.
1 2  | 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.
movies: general information about the movies.
normal_pdf_movie: normal probability density function
movie.
1 2 3 4 5 6 7 8 9  | # Load package rpanel
# [Use install.packages("rpanel") if necessary]
library(rpanel)
# Produce movie using values from the Aussie births data
## Not run: 
normal_areas_movie()
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.