rep: Replicate elements of onionic vectors

Description Usage Arguments Author(s) Examples

Description

Replicate elements of onionic vectors

Usage

1
2
## S3 method for class 'onion'
rep(x, ...)

Arguments

x

Onionic vector

...

Further arguments passed to seq.default()

Author(s)

Robin K. S. Hankin

Examples

1
2
3
4
a <- roct(3)
rep(a,2) + a[1]
rep(a,each=2)
rep(a,length.out=5)

onion documentation built on July 11, 2017, 9:04 a.m.