flatten {narray} | R Documentation |
Flattens an array along an axis
Description
Flattens an array along an axis
Usage
flatten(x, along = -1, name_sep = NA)
Arguments
x |
Array |
along |
Along which axis to bind them together (default: last) |
name_sep |
Which character to use for naming new arrays [default: NA, do not touch names] |
Value
An array with n-1 dimensions
[Package narray version 0.5.1 Index]