LMK_plotVar: Plot Variance

Description Usage Arguments Value Examples

View source: R/LMK_outliers.R

Description

Function to plot variance within landmarks for a dataset

Usage

1
LMK_plotVar(a, lmknames = NULL, tabonly = FALSE, ...)

Arguments

a

an array, presumably already aligned

lmknames

A vector of landmark names to plot. If null (default) points are labeled by index.

tabonly

Logical. If FALSE (default) function returns list of mean variance by landmark and plots values. If TURE, plotting steps are suppressed.

...

Additional arguments to pass to plotting functions

Value

Returns a list of mean variance by landmark for the entire dataset. Also produces a plot with mean variance (green) and 1 SD (dark green)

Examples

1
2
3
4
5
require(geomorph)
data(plethodon)
gpa <- gpagen(plethodon$land)
LMK_plotVar(gpa$coords) ## most landmarks show low variance
## lmks 11,12 plot above 1 standard deviation 

ehrlichd/lmkCHK documentation built on Sept. 30, 2020, 3:06 a.m.