rep function

Replicate elements of onionic vectors

Replicate elements of onionic vectors

## S4 method for signature 'onion' rep(x, ...)

Arguments

  • x: Onionic vector
  • ...: Further arguments passed to seq.default()

Author(s)

Robin K. S. Hankin

Examples

a <- roct(3) rep(a,2) + a[1] rep(a,each=2) rep(a,length.out=5)
  • Maintainer: Robin K. S. Hankin
  • License: GPL-2
  • Last published: 2024-03-29