Mat2Array: Simple function for conversion of a matrix of landmarks to an...

View source: R/InternalSimpleClass_function.R

Mat2ArrayR Documentation

Simple function for conversion of a matrix of landmarks to an array

Description

This function takes a matrix where rows are specimens and columns are alternating landmark coordinate values and converts it to a 3 dimensional array where rows are landmarks and columns correspond with the dimensions.

Usage

Mat2Array(Mat, LMdim)

Arguments

Mat

is a matrix of landmark data

LMdim

is the number of dimensions of the data, either 2 or 3

Value

This function returns an array

Author(s)

Ardern Hulme-Beaman


ArdernHB/GeoOrigins documentation built on Nov. 19, 2022, 10:21 a.m.