| find_lw | R Documentation |
A function to find estimates length-weight relationship parameters available on fishbase. It returns a list of means and standard deviations of a and b obtained from: Froese, R., J. Thorson and R.B. Reyes Jr., 2013. A Bayesian approach for estimating length-weight relationships in fishes. J. Appl. Ichthyol. (2013):1-7. Please cite Froese et al. (2013), when using these values. The default mirror for fishbase is set to "se", please change this if needed
find_lw(sp, mirror = "se")
sp |
A charachter value containing the species name |
mirror |
Mirror for fishbase (eg. "se", "org", "us", etc.) Default is |
A dataframe with means and standard deviations of length-weight parameters
library(fishflux)
library(dplyr)
# find length-weight relationship parameters for one species
find_lw("Lutjanus griseus")
# find length-weight relationship parameters for multiple species and return
# in data.frame
lapply(c("Chlorurus spilurus","Zebrasoma scopas"), find_lw) %>%
dplyr::bind_rows()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.