anim.hist {anim.plots} | R Documentation |
Draw an animated histogram.
anim.hist(
x,
times,
speed = 1,
show = TRUE,
use.times = TRUE,
window = t,
window.process = NULL,
density = NULL,
angle = NULL,
col = NULL,
border = NULL,
...
)
x , density , angle , col , border , ... |
parameters passed to |
times , show , speed , use.times , window , window.process |
see
|
Parameters x, density, angle, col
and border
are all
"chunked", i.e. first recycled to the length of times
or x
(whichever is longer), then split according to the unique values of times
.
See anim.plot
for more details.
anim.hist(rep(rnorm(5000), 7), times=rep(1:7, each=5000),
breaks=c(5,10,20,50,100,200, 500, 1000))