sample.system {animation} | R Documentation |
The whole sample frame is denoted by a matrix (nrow * ncol) in the plane, and the sample points with equal intervals are drawn out according to a random starting point. The points being sampled are marked by red circles.
sample.system(nrow = 10, ncol = 10, size = 15, control = ani.control(interval = 0.2), ...)
nrow |
the desired number of rows of the sample frame. |
ncol |
the desired number of columns of the sample frame. |
size |
the sample size. |
control |
control parameters for the animation; see ani.control |
... |
other arguments passed to ani.control |
None (invisible `NULL
').
Yihui Xie
Cochran, W G (1977) Sampling Techniques, Wiley, ISBN 0-471-16240-X
sample.system() ## Not run: # HTML animation page ani.start() sample.system(nrow = 5, size = 12, saveANI = TRUE) ani.stop() ## End(Not run)