Skip to contents

Bootstrap Resampling for calculating SSD standard error

Usage

bootSSD(Size, Sex, rep = 1000, log = F, positiveM = F, ...)

Arguments

Size

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

Sex

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

rep

number of times to perform the resampling procedure (default is 1000)

log

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

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, bootSSD(CS, Sex, log = T))
#> Error in bootSSD(CS, Sex, log = T): could not find function "bootSSD"