get.medians: Calculate median landmark coordinates based on separate...

View source: R/get.medians.R

get.mediansR Documentation

Calculate median landmark coordinates based on separate landmark sets

Description

This function returns the median landmark estimates based on separate landmark sets. It is useful to calculate median estimates based on ALPACA estimates of individual templates.

Usage

get.medians(AllLMs, outlier.NA = FALSE)

Arguments

AllLMs

A 4d array that store separate landmark sets with corresponding landmarks and identical samples.

outlier.NA

A boolean variable determines whether there is NA (TRUE) or not (FALSE).

Value

A 3D array that contains median landmark coordinates

Examples

#Please refer to the help file of 'read.malpaca.estimates' in SlicerMorphR to see how this function calculates median estimates.

chz31/SlicerMorphR documentation built on Feb. 10, 2023, 11:56 p.m.