mm_FlattenArray {moRphomenses}R 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


[Package moRphomenses version 1.0.3 Index]