Description Usage Arguments Value Author(s)
View source: R/objectsymm_RPS.R
This function obtains the individual resistant-symmetric shape for 2D object-symmetry data. The input is an array A of size n (landmarks) x p (dimensions) x k (objects) Landmarks must be in this order: saggital (or unpaired) landmarks first, then left paired landmarks and finally right paired landmarks. Configurations are ordered in this way: L side Object 1 and R side Object 1, L side Object 2 and R side Object 2, etc
1 | objectsymm_RPS(A,ctr="gmedian",prs.file,proj.met="msum",legend.loc="topleft")
|
A |
Input data: an array or matrix of size n (landmarks) x 2 (in 2D) x k (objects) |
ctr |
Centering options: "gmedian" (the spatial or gemetric median, default choice), "median" (the componentwise median), "mean" (the average) |
prs.file |
This is a .txt file indicating the L+R paired landmarks as rows: e.g. 7 15; 8 16; etc. |
proj.met |
The choice to compute the saggital axis: sum or median of projections |
legend.loc |
The location of the legend for the plot.result function |
w
Federico Lotto, Sebastian Torcida
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.