NaiveBoot: The Naive Bootstrap
Description
The Naive Bootstrap
Usage
NaiveBoot(data, B = 1000, groups = NULL, keepgroups = F, size = 1)
Arguments
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