align.bilat | R Documentation |
The input array should contain landmark coordinates with p, 2, and n dimensions, where n is the number of specimens and p is the number of landmarks). Dimension 2 must have two columns that contain X and Y locations of the landmark.
align.bilat(A, pt1, pt2, landmark.pairs, show.plot = TRUE, verbose = TRUE)
A |
A 3-dimensional array containing XY shape coordinates for multiple specimens, or a list containing such as an array and data provenance. |
pt1 |
A number or numeric vector of landmarks specifying one of two points to define the line of symmetry. |
pt2 |
A number or numeric vector of landmarks specifying the second of two points to define the line of symmetry. |
landmark.pairs |
A matrix with two columns. Rows pair landmarks. Landmarks in the second column will be reflected across the line of symmetry and averaged with the paired landmark. Landmark numbers in the first column will be retained. |
show.plot |
A logical argument specifying whether to display a plot comparing the distributions of variance in landmark distances, corrected for centroid size, before and after alignment to the fixed angle. |
verbose |
A logical argument specifying whether to display summary statistics on the degree of asymmetry in the specimens. |
Returns a list with coords
, provenance
, and
any other potential list elements from the input.
Dave Angelini david.r.angelini@gmail.com [aut, cre]
This function is still under development!
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.