Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

readmulti.nts

Read and combine multiple nts files


Description

Read multiple nts (or .dta) files to obtain landmark coordinates and combine them into a single array

Usage

readmulti.nts(filelist)

Arguments

filelist

A vector containing the file paths to all the tps files to be compiled

Details

This is a wrapper of readland.nts to allow reading landmark coordinates, in 2D or 3D, from several nts (or .dta) files, and compiling them into an array for proceeding with GM procedures.

See readland.nts for adequately formatting NTS files and requirements that need to be met for that (and therefore this) function to work correctly.

Value

Function returns a 3D array (p x k x n), where p is the number of landmark points, k is the number of landmark dimensions (2 or 3), and n is the number of specimens. The third dimension of this array contains names for each specimen, which are retrieved from the nts specimen labels, if those are available. Specimens in nts files without labels are named as filename_# where # are consecutive numbers.

Author(s)

Antigoni Kaliontzopoulou

References

Rohlf, F. J. 2012 NTSYSpc: Numerical taxonomy and multivariate analysis system. Version 2.2. Exeter Software, New York.


geomorph

Geometric Morphometric Analyses of 2D/3D Landmark Data

v4.0.0
GPL (>= 2)
Authors
Dean Adams [aut, cre], Michael Collyer [aut], Antigoni Kaliontzopoulou [aut], Erica Baken [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.