readmulti.tps: Read and combine multiple tps files

View source: R/readmulti.tps.R

readmulti.tpsR Documentation

Read and combine multiple tps files

Description

Read multiple tps files to obtain landmark coordinates and combine them into a single array

Usage

readmulti.tps(filelist, ...)

Arguments

filelist

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

...

other arguments to be passed to readland.tps

Details

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

The arguments specID and negNA of readland.tps can be directly set through this function.

Value

Function returns a (p x k x n) array, where p is the number of landmark points, k is the number of landmark dimensions (2 or 3), and n is the total number of specimens across all tps files included in the folder read.

Author(s)

Antigoni Kaliontzopoulou

Michael Collyer


geomorph documentation built on June 24, 2024, 5:07 p.m.