Concatenate vectors into a chunked array

c2(x, y)

Arguments

x

a vector or chunked_array object

y

a vector or chunked_array object

Value

A chunked_array object

Details

Combine two vector or chunked_array objects into a single chunked_array without copying the underlying data.

Author

Guangchuang Yu

Examples

a <- c2(1:100, 101:200)
length(a)
#> [1] 200
a[150]
#> [1] 150