Description Usage Arguments Value Examples
View source: R/package-support.R
Scale each individual of a landmark array by an arbitrary value (e.g. centroid size)
1 | LMK_bscale(A, cs)
|
A |
A 3D landmark array |
cs |
a vector of centroid sizes |
Returns a scaled 3D landmark array
1 2 3 4 5 6 7 8 9 10 | require(geomorph)
data(plethodon)
plotAllSpecimens(plethodon$land) ## plot all unaligned specimens
gpa <- gpagen(plethodon$land) ## align AND SCALE data
plotAllSpecimens(gpa$coords)
backscaled <- LMK_bscale(gpa$coords, gpa$Csize)
plotAllSpecimens(backscaled) ## data are aligned, but in their original size
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.