myboot2: Bootstrapping function for basic stats

View source: R/functions.R

myboot2R Documentation

Bootstrapping function for basic stats

Description

This function uses bootstrapping to apply a function to a sample

Usage

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

Arguments

iter

number of iterations

x

vector to evaluate

fun

function to apply

alpha

confidence value

cx

numeric character expansion factor

...

other params for hist

Value

a list of confidence interval, function, vector, and results per iter

Examples

x = 1:10
myboot2(x=x)

nbcastle/MATH4753cast0059 documentation built on May 3, 2022, 8:21 p.m.