SShDFunc: Calculating Sexual Shape Dimorphism

View source: R/SShDFunc.R

SShDFuncR Documentation

Calculating Sexual Shape Dimorphism

Description

This function directly calculates SShD. However it may be a poor estimator for unbalanced designs where there are more of one sex than the other, SShDLM() is more robust.

Usage

SShDFunc(Coords, Sex, Zeroed = TRUE)

Arguments

Coords

Two-dimensional array of coordinates from geometric morphometric analysis (see two.d.array() in geomorph for correct formatting)

Sex

A character or factor vector recording sex for each individual as 'm' or 'f'

Zeroed

a logical value stating whether you wish to correct the SShD for the variation among individuals regardless of sex (defaults to TRUE)

Examples

SShDFunc(Coords, Sex, Zeroed = TRUE)
SShDFunc(Coords, Sex, TRUE)

TWilliamBell/angler documentation built on March 31, 2022, midnight