Mat2Array: Internal function for conversion of a matrix of landmarks to...

Description Usage Arguments Value Author(s)

View source: R/InternalSimple_functions.R

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

1
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/KnnDist documentation built on Feb. 5, 2021, 5:09 a.m.