bootstrapR: A bootstrap samples generator using R

Description Usage Arguments Value Examples

View source: R/bootstrapR.R

Description

A function for generating bootstrap samples of given data using R

Usage

1
bootstrapR(X, n)

Arguments

X

the given set of one-dimension data

n

the number of bootstraping

Value

a matrix of samples generated by bootstraping and the row of the sample matrix is n

Examples

1
2
3
4
5
## Not run: 
X <- c(96,87,88,90,85)
outer <- bootstrapR(X, 10)

## End(Not run)

SC19020/SC19020 documentation built on Jan. 3, 2020, 12:09 a.m.