wsVal {FSA} | R Documentation |

Returns a vector that contains all known or a subset of information about the standard weight equation for a given species, type of measurement units, and reference percentile.

wsVal(species = "List", units = c("metric", "English"), ref = 75, simplify = FALSE)

`species` |
A string that contains the species name for which to find coefficients. See details. |

`units` |
A string that indicates whether the coefficients for the standard weight equation to be returned are in ( |

`ref` |
A numeric that indicates which percentile the equation should be returned for. Note that the vast majority of equations only exist for the |

`simplify` |
A logical that indicates whether the ‘units’, ‘ref’, ‘measure’, ‘method’, ‘comments’, and ‘source’ fields should be included ( |

This function extract all known information from `WSlit`

about the following standard weight equation,

*log_{10}(Ws) = log_{10}(a) + blog_{10}(L) + blog_{10}(L)^{2}*

See `WSlit`

for more information about the meaning of each value returned.

Note from above that the coefficients are returned for the TRANSFORMED model. Thus, to obtain the standard weight (Ws), the returned coefficients are used to compute the common log of Ws which must then bed raised to the power of 10 to compute the Ws.

A one row data frame from `WSlit`

that contains all known information about the standard weight equation for a given species, type of measurement units, and reference percentile if `simplify=FALSE`

. If `simplify=TRUE`

then only the species; minimum and maximum length for which the standard equation should be applied; and intercept, slope, and quadratic coefficients for the standard weight equation. Note that the maximum length and the quadratic coefficient will not be returned if they do not exist in `WSlit`

.

If no arguments are given to this function, a species name is mis-spelled, or if a standard weight equation does not exist (in `WSlit`

) for a particular species, then a warning will be issued and a list of species names will be printed.

8-Condition.

Derek H. Ogle, derek@derekogle.com

Ogle, D.H. 2016. Introductory Fisheries Analyses with R. Chapman & Hall/CRC, Boca Raton, FL.

See `wrAdd`

and `WSlit`

for related functionality.

wsVal() wsVal("Bluegill") wsVal("Bluegill",units="metric") wsVal("Bluegill",units="English") wsVal("Bluegill",units="English",simplify=TRUE) wsVal("Ruffe",units="metric",simplify=TRUE) wsVal("Ruffe",units="metric",ref=50,simplify=TRUE)

[Package *FSA* version 0.8.18 Index]