flatten: Flattens an array along an axis

View source: R/flatten.r

flattenR 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


mschubert/arraytools documentation built on Jan. 12, 2023, 8:21 a.m.