powered by
Replicate elements of onionic vectors
# S4 method for onion rep(x, ...)
Onionic vector
Further arguments passed to seq.default()
seq.default()
Robin K. S. Hankin
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 DataLab