rep: Replicate elements of onionic vectors

Description Usage Arguments Author(s) Examples

Description

Replicate elements of onionic vectors

Usage

1
2
## S4 method for signature '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 Feb. 11, 2021, 9:06 a.m.