Skip to contents

Calculating the bootstrap statistic for Sexual Size Dimorphism

Usage

SSDBootStat(Sex, Indices, Size, log = F, positiveM = F, ...)

Arguments

Sex

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

Indices

An integer specifying the indices to be sample for the bootstrapping

Size

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

log

A logical value specifying if the log ratio SSD index should be used (default is FALSE)

positiveM

If calculating log ratio SSD index, makes log ratio with male biased being positive and female biased being negative (suited to mammalian research). Default is FALSE

Examples

data(pupfish)
with(pupfish, SSDBootStat(Sex, Indices, Size, log = T, positiveM = T))
#> Error in SSDBootStat(Sex, Indices, Size, log = T, positiveM = T): could not find function "SSDBootStat"