zeroSShD: Calculates Shape Diversity regardless of Sex

View source: R/zeroSShD.R

zeroSShDR Documentation

Calculates Shape Diversity regardless of Sex

Description

SShD is strictly non-negative, and even in the absence of sexual dimorphism, SShD will likely be positive. We can try to adjust it for SShD by calculating what SShD 'would' be in the absence of sexual dimorphism (by permuting the sexual of the individuals) and then subtracting that from SShD. Most of angler's SShD functions do this by default ('Zeroed' arguments).

Usage

zeroSShD(Coords, Sex)

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'

Examples

zeroSShD(Coords, Sex)

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