myboot2 | R Documentation |
The bootstrap function creates a confidence interval based on a given data set.
myboot2(iter = 10000, x, fun = "mean", alpha = 0.05, cx = 1.5, ...)
iter |
Number of iterations |
x |
A dataframe or data set |
fun |
Which type of function you would like to apply to the data, ex. "mean" |
alpha |
A number, such that (1 - alpha) is the percentage confidence |
cx |
A number, for applying text size |
... |
Extra graphical parameters passed on to the hist() function |
Returns a histogram of the distribution of the sampled data from the population. On the histogram is a labeled confidence interval.
## Not run: myboot2(iter = 10000, x = ddt$DDT, fun = "var", alpha = 0.2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.