Description Usage Arguments Value Examples
A bootstrapping function to take random samples and make histograms
1 |
iter |
the number of iterations |
x |
the sample object of some distribution |
fun |
the function to perform on the same (mean, sd, etc) |
alpha |
variable for finding a certain confidence interval |
cx |
an expansion factor |
... |
a histogram of the sample and a list of simulation statistics
1 | ## Not run: myboot2(10000,x=sam,fun=function(x) mean(x),alpha=0.05,xlab="mean(x)",col="Red",cx=1.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.