Learn R Programming

Omisc (version 0.1.2)

NaiveBoot_dep: The Naive Bootstrap

Description

The Naive Bootstrap

Usage

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

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

Value

a list of bootstrap resamples

Examples

Run this code
# NOT RUN {
X<-TestData()
Y<-NaiveBoot(X)
# }

Run the code above in your browser using DataLab