readland.fcsv {geomorph} | R Documentation |
Read landmark data matrix from fcsv file
Description
Read landmark data for a single specimen from an fcsv file obtained from SlicerMorph.
Usage
readland.fcsv(file = NULL)
Arguments
file |
The name of a *.fcsv file containing three-dimensional landmark data to be read in |
Details
This function merely extracts x, y, z coordinates from an fcsv file.
Value
Function returns a p x 3 matrix of x, y, z coordinates for p landmarks.
Note: to read in multiple files the following is useful:
filelist <- list.files(path = "PATH TO FOLDER with FILES", pattern = "*.fcsv", full.names = TRUE)
mydata <- simplify2array(lapply(filelist, readland.fcsv))
Author(s)
Murat Maga, Michael Collyer and Dean Adams
[Package geomorph version 4.0.10 Index]