onion (version 1.2-7)

rep.onion: Replicate elements of onionic vectors

Description

Replicate elements of onionic vectors

Usage

# S3 method for onion
rep(x, ...)

Arguments

x

Onionic vector

...

Further arguments passed to seq.default()

Examples

Run this code
# NOT RUN {
a <- roct(3)
rep(a,2) + a[1]
rep(a,each=2)
rep(a,length.out=5)
# }

Run the code above in your browser using DataCamp Workspace