unibootsample: unibootsample

Description Usage Arguments Value Examples

View source: R/unibootsample.R

Description

unibootsample

Usage

1

Arguments

data

A dataframe or matrix to be univariately bootstrapped

size

size of each bootstrap sample as a fraction of the total sample size. Total sample size must be evenly divisible by "size".

Value

A matrix or dataframe with nrow=nrow(X)*size

Examples

1
2
3
4
X<-c(0:9)
Y<-c(20:29)
Z<-cbind(X,Y)
unibootsample(Z,1)

okeep/Omisc documentation built on March 5, 2022, 12:32 a.m.