View source: R/helper_functions.R
mm_FlattenArray | R Documentation |
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.
mm_FlattenArray(A, sep = ".")
A |
an array to be flattened |
sep |
Separator to be used for column names |
Returns a flattened array
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.