mysample | R Documentation |
takes n samples each iteration with replacement and shows the resultant distribution
mysample(n, N = 10, iter = 10, time = 0.1, last = FALSE, rep = TRUE)
n |
number of samples each iteration |
N |
size of each sample |
iter |
number of iterations |
time |
time between showing each plot |
last |
indicates that only last bar plot should be displayed |
rep |
with or without replacement |
a barplot of the distribution and a corresponding table
mysample(5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.