StratSSD | R Documentation |
Within-Group SSD Calculation
StratSSD(Strata, Size, Sex, Log = FALSE, ...)
Strata |
A character or factor vector giving the factor by which we wish to divide individuals into groups before calculating SSD |
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' |
Log |
Defaults to FALSE, in which case you use the Lovich and Gibbons SDI to calculate SSD, if changed to TRUE you use the log ratio. |
... |
If Log is TRUE, then you may pass arguments to the SSDLog function this way. |
StratSSD(Strata, Size, Sex, Log = TRUE) StratSSD(Strata, Size, Sex, Log = TRUE, positiveF = TRUE, base = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.