mm_FlattenArray: Flatten Array

View source: R/plotting.R

mm_FlattenArrayR Documentation

Flatten Array

Description

Convert a 3D array to 2D matrix suitable for PCA, etc. Note, this function is identical to geomorph::two.d.array, reproduced here for convenience.

Usage

mm_FlattenArray(A, sep = ".")

Arguments

A,

an array to be flattened

sep

Separator to be used for column names

Value

Returns a flattened array


ehrlichd/moRphomenses documentation built on Aug. 6, 2022, 2:32 a.m.