psolymos / EDMAinR

Euclidean Distance Matrix Analysis in R
https://psolymos.github.io/EDMAinR
3 stars 2 forks source link

Implement landmark scaling methods #11

Closed kmiddleton closed 1 year ago

kmiddleton commented 1 year ago

This pull request implements the landmark scaling procedure described in Lele and Cole (1996), which is used to rescale landmarks on a per-specimen basis. Landmark rescaling is useful when the variance-covariance matrices of two populations for comparison are not equal, e.g., for comparison using edma_fdm() or edma_gdm().

Options are available for scaling by a constant, by the distance between two landmarks, by the geometric mean, by the maximum, by the median, and by the method of Sneath (1967), the root mean squared distance from each landmark to the centroid.

psolymos commented 1 year ago

Thanks for the PR!

psolymos commented 1 year ago

@kmiddleton I reviewed the PR and I made 2 small requests (above). Please also add your name as person() to the DESCRIPTION file as a contributor (role = "ctb").