myboot: Sampling and resampling

View source: R/myboot.R

mybootR Documentation

Sampling and resampling

Description

Takes one sample from population and resample from it.

Usage

myboot(iter = 10000, x, fun = "mean", alpha = 0.05, cx = 1.5, ...)

Arguments

iter

the number of iterations

x

the original sample

fun

the function to pull the statistic from

alpha

the confidence interval

cx

another statistic

...

special argument that can take additional arguments

Details

A function from Lab 9

Value

A histogram of BootStrap sample statistics

Examples

## Not run: myboot2(x=sam,fun="mean", alpha=0.05)


markoleptic/MyPackage documentation built on May 3, 2022, 12:06 a.m.