Takes in dataset in a vector form. If anime = TRUE, returns animated time series plot which shows elements sampled with replacement, otherwise returns still plot of bootstrap sample.

bootstrapProcess(s, anime)

Arguments

s

sample dataset in a vector form

anime

boolean, where TRUE = T = 1, FALSE = F = 0

Value

A time series cumulative animation.

Examples

bootstrapProcess(rnorm(30), TRUE)