Create an R array without having to wrap data in c()
Arguments
- ...
(atomic vectors)
Values of the new array. They are combined withc(), so vectors are spliced in and the result takes the common R type of all values, and fill the array in column-major order. A single value is recycled to fill all ofshape.- shape
(
NULL|integer())
Shape of new array. IfNULL(default), uses length of elements to create a 1D array.