Learn R Programming

yulab.utils (version 0.2.5)

c2: Concatenate Chunked Arrays

Description

Concatenate vectors into a chunked array

Usage

c2(x, y)

Value

A chunked_array object

Arguments

x

a vector or chunked_array object

y

a vector or chunked_array object

Author

Guangchuang Yu

Details

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

Examples

Run this code
a <- c2(1:100, 101:200)
length(a)
a[150]

Run the code above in your browser using DataLab