SSDLog | R Documentation |
Calculates the log ratio of sexual dimorphism, log(F/M) (adapted with alterations from Smith 1999). For the SDI (Lovich and Gibbons 1992), use SSDFunc(). Defaults to e as the base for the logarithm.
SSDLog(Size, Sex, Base = exp(1), positiveF = F)
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' |
Base |
the base for the logarithm (defaults to e = 2.718...) |
positiveM |
Smith 1999 has the log ratio with male biased being positive and female biased being negative (suited to mammalian research), can have the statistic operate in that manner by setting this to TRUE |
SSDLog(Size, Sex)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.