Description Usage Arguments Value Examples
View source: R/demo_permutations.r
Demonstration means and variances using permutations
1 2 3 4 5 6 7 8 9 |
population |
A vector of values to be sampled from |
sample.size |
A number (2-10) for the number of observations to be drawn |
pop.mu |
A value for population true mean |
pop.sigma2 |
A value for population true variance |
show.summary |
Controls display of summary statistics (TRUE/FALSE) |
show.plots |
Controls whether plots are shown |
show.details |
Controls whether permutations are shown |
ratio of estimated variance/true variance
1 2 3 4 | ## Not run:
demo_permutations(population=c(1:3),sample.size=2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.