Learn R Programming

Morpho (version 2.12)

write.pts: exports a matrix containing landmarks into .pts format

Description

exports a matrix containing landmarks into .pts format that can be read by IDAV Landmark.

Usage

write.pts(x, filename = dataname, rownames = NULL, NA.string = 9999)

Arguments

x

k x m matrix containing landmark configuration

filename

character: Path/name of the requested output - extension will be added atuomatically. If not specified, the file will be named as the exported object.

rownames

provide an optional character vector with rownames

NA.string

specify the string to use for encoding missing values

Author

Stefan Schlager

Details

you can import the information into the program landmarks available at http://graphics.idav.ucdavis.edu/research/EvoMorph

See Also

read.pts

Examples

Run this code

data(nose)
write.pts(shortnose.lm, filename="shortnose")
unlink("shortnose.pts")

Run the code above in your browser using DataLab