myboot2: myboot2

Description Usage Arguments Details Value Examples

View source: R/myboot2.R

Description

Graphs the bootstrap confidence interval of the input of choice

Usage

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

Arguments

iter

number of iterations

x

a vector of values

fun

a string with the name of the value

alpha

the value of alpha for the percentage calculation of CI

cx

default cx value is 1.5 scale

...

edits the histogram

Details

This is a function created in the Math4753 package that when given parameters of alpha and the given statistic it will graph the confidence interval using the bootstrap method

Value

a list with the given CI and other values

Examples

1
2
myboot2(10000,x=sam,fun="var",alpha=0.20,xlab="var(x)",col="Green",cx=1.5)
#

lukedlw/math4753ward0018 documentation built on April 28, 2020, 6:07 a.m.