objectsymm_RPS: This function obtains the individual resistant-symmetric...

Description Usage Arguments Value Author(s)

View source: R/objectsymm_RPS.R

Description

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

Usage

1
objectsymm_RPS(A,ctr="gmedian",prs.file,proj.met="msum",legend.loc="topleft")

Arguments

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

Value

w

Author(s)

Federico Lotto, Sebastian Torcida


RPS documentation built on May 2, 2019, 3:29 p.m.