Learn R Programming

geomorph (version 4.0.10)

readland.fcsv: 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)

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))

Arguments

file

The name of a *.fcsv file containing three-dimensional landmark data to be read in

Author

Murat Maga, Michael Collyer and Dean Adams

Details

This function merely extracts x, y, z coordinates from an fcsv file.