fast.rep: Faster version of rep fucntion

Description Usage Arguments Value Examples

Description

This function is a faster version of rep fucntion

Usage

1
fast.rep(x, times)

Arguments

x

data to be repeated

times

number of times to repeat the data

Value

new data

Examples

1
2
3
4
## Not run: 
fast.rep(c(1,NA,2,Inf,3), 4)

## End(Not run)

drewgriffith15/griffun documentation built on May 15, 2019, 1:56 p.m.