RSDval {FSA}R Documentation

Finds five-cell or two-cell length categories (for RSD/PSD) for a particular species.

Description

Returns a vector with the five-cell or two-cell length categories (for RSD/PSD) for a particular species.

Usage

RSDval(species,metric=TRUE,mm=FALSE,incl.zero=FALSE)
PSDval(species,metric=TRUE,mm=FALSE,incl.zero=FALSE)

Arguments

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.

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.

Value

A vector of the five-cell or two-cell length categories for the given species.

Author(s)

Derek H. Ogle, dogle@northland.edu

See Also

WSval, RSDlit in FSAdata

Examples

  RSDval()
  RSDval("Yellow perch")
  RSDval("Walleye",mm=TRUE)
  RSDval("Bluegill",metric=FALSE)
  PSDval("Bluegill")

[Package FSA version 0.0-13 Index]