| RSDval {FSA} | R Documentation |
Returns a vector with the five-cell or two-cell length categories (for RSD/PSD) for a particular species.
RSDval(species,metric=TRUE,mm=FALSE,incl.zero=FALSE) PSDval(species,metric=TRUE,mm=FALSE,incl.zero=FALSE)
species |
A string containing the species name to find coefficients for. |
metric |
A logical indicating if coefficient units should be in metric (cm) rather than English (in) units. |
mm |
A logical indicating whether the metric result should be returned in mm (=TRUE) or cm. This is ignored if metric=FALSE. |
incl.zero |
A logical indicating whether to include a zero in the first position of the returned vector or not. See details. |
Finds the five-cell (RSD) or two-cell (PSD) length categories for the given species names in the data(RSDlit) data frame. The metric units are cm unless mm=TRUE and the English units are inches.
If incl.zero=TRUE then a zero will be in the first postion of the returned vector and the five-cell or two-cell length categories will follow. This is useful when computing PSD/RSD values as a sample of fish may have individuals smaller than the stock length.
If no arguments are given to this function or if a species name does not exists in the database then a list of species will be printed.
A vector of the five-cell or two-cell length categories for the given species.
Derek H. Ogle, dogle@northland.edu
WSval, RSDlit in FSAdata
RSDval()
RSDval("Yellow perch")
RSDval("Walleye",mm=TRUE)
RSDval("Bluegill",metric=FALSE)
PSDval("Bluegill")