boot: Bootstrap Confidence Intervals via Resampling

Description Usage Arguments Examples

View source: R/boot.R

Description

Provides nonparametric confidence intervals via percentile-based resampling for given mlf function.

Usage

1
boot(x, y, func, reps, conf.int)

Arguments

x, y

numeric vectors of data values

func

specify mlf function

reps

(optional) number of resamples. Defaults to 500

conf.int

(optional) numeric value indicating level of confidence. Defaults to 0.90.

Examples

1
2
3
4
5
6
# Sample data
a <- rnorm(25, 80, 35)
b <- rnorm(25, 100, 50)

mlf::mic(a, b)
mlf::boot(a, b, mic)

mlf documentation built on June 25, 2018, 9:01 a.m.