Learn R Programming

Omisc (version 0.1.5)

NaiveBoot: The Naive Bootstrap

Description

The Naive Bootstrap

Usage

NaiveBoot(data, B = 1000, groups = NULL, keepgroups = F, size = 1)

Value

a list of bootstrap resamples

Arguments

data

data to be bootstrapped

B

number of bootstrap samples to take

groups

grouping variable if there is one

keepgroups

keep the grouping variable?

size

size of the bootstrap resamples relative to the original sample

Examples

Run this code
X<-TestData()
Y<-NaiveBoot(X)

Run the code above in your browser using DataLab