Skip to content

Replicate elements of integer64 vectors

Arguments

x

a vector of 'integer64' to be replicated

...

further arguments passed to NextMethod()

Value

rep() returns a integer64 vector

Examples

  rep(as.integer64(1:2), 6)
#> integer64
#>  [1] 1 2 1 2 1 2 1 2 1 2 1 2
  rep(as.integer64(1:2), c(6,6))
#> integer64
#>  [1] 1 1 1 1 1 1 2 2 2 2 2 2
  rep(as.integer64(1:2), length.out=6)
#> integer64
#> [1] 1 2 1 2 1 2