Skip to content

The ususal functions 'c', 'cbind' and 'rbind'

Usage

# S3 method for class 'integer64'
c(..., recursive = FALSE)

# S3 method for class 'integer64'
cbind(...)

# S3 method for class 'integer64'
rbind(...)

Arguments

...

two or more arguments coerced to 'integer64' and passed to NextMethod()

recursive

logical. If recursive = TRUE, the function recursively descends through lists (and pairlists) combining all their elements into a vector.

Value

c() returns a integer64 vector of the total length of the input

cbind() and rbind() return a integer64 matrix

Note

R currently only dispatches generic 'c' to method 'c.integer64' if the first argument is 'integer64'

Examples

  c(as.integer64(1), 2:6)
#> integer64
#> [1] 1 2 3 4 5 6
  cbind(1:6, as.integer64(1:6))
#> integer64
#>      [,1] [,2]
#> [1,] 1    1   
#> [2,] 2    2   
#> [3,] 3    3   
#> [4,] 4    4   
#> [5,] 5    5   
#> [6,] 6    6   
  rbind(1:6, as.integer64(1:6))
#> integer64
#>      [,1] [,2] [,3] [,4] [,5] [,6]
#> [1,] 1    2    3    4    5    6   
#> [2,] 1    2    3    4    5    6