Unlimited learning, half price | 50% off
Get 50% off unlimited learning

Omisc (version 0.1.5)

unibootsample: unibootsample

Description

unibootsample

Usage

unibootsample(data, size)

Value

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

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".

Examples

Run this code
X<-c(0:9)
Y<-c(20:29)
Z<-cbind(X,Y)
unibootsample(Z,1)

Run the code above in your browser using DataLab