SShDLM: Calculate SShD using the lm() function

View source: R/SShDLM.R

SShDLMR Documentation

Calculate SShD using the lm() function

Description

All of this program's built in SShD functions that perform bootstrap analysis on the data use the lm() function for some of its nice properties. This function allows you to reproduce the results of the lm() function-based SShD calculation for a single sample.

Usage

SShDLM(Coords, Sex, Zeroed = T)

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)


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