Description Usage Arguments Details Value Author(s)
Read landmark coordinates and scales from a TPS file
1 | ReadLandmarkData(datafile, m_byscale = T)
|
datafile |
TPS file containing two dimensional landmark data |
m_byscale |
Logical value (Default m_byscale=TRUE). If TRUE, landmark coordinates are multiply by scale |
The function returns landmark coordinates (array and data.frame format) and the scale of each specimen. If m_byscale
= T the coordinates are multiple by the corresponding scale.
ReadLandmarkData
only works with TPS files that has only landmark coordinates (presence of CURVES and OUTLINES may cause malfunction).
It returns a 3 element list:
df |
Landmark coordinates as a data.frame. Sp factor correspond to species number. |
array |
Landmark coordinates as a three dimensional array. |
scale |
Vector of scales value for each specimen. |
Cabrera Juan Manuel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.