mm_FlattenArray: Flatten Array

View source: R/helper_functions.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 Dec. 13, 2024, 8:36 a.m.