bootstrap: Bootstrap resampling

Description Usage Arguments

View source: R/bootstrap.r

Description

bootstrap resamples the dataset with replacement and applies a function to each sample

Usage

1
bootstrap(x, fun, size = nrow(x), iter = 10)

Arguments

x

data frame to be resampled

fun

function that takes a single argument (a data frame of each resampled dataset) and returns a single value

size

size of each sample

iter

number of bootstrap iterations


benfasoli/uataq documentation built on Sept. 27, 2021, 9:29 p.m.