Skip to contents

Calculating the absolute vector correlation between the allometry vector and the total SShD vector

Usage

AllomSShDCorr(Coords, Sex, Size)

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', individuals should be in the same order as the rows of the Coords

Size

A numerical vector giving the size of each individual as a scalar quantity

Examples

data(pupfish)
with(pupfish, AllomSShDCorr(coords, Sex, CS))
#> [1] NA