Experimental. Requires the rfishbase package to be installed.

sol_fb_length_weight(
  ...,
  input_properties,
  return_properties,
  worms = requireNamespace("worrms", quietly = TRUE)
)

Arguments

...

: arguments passed to rfishbase::length_weight

input_properties

character: an optional vector of properties (see link{sol_properties}). Only equations that take an input in input_properties will be returned

return_properties

character: an optional vector of properties (see link{sol_properties}). Only equations that return a value in return_properties will be returned

worms

logical: if TRUE, and if the worrms package is installed, try and find the AphiaID for the taxon in the World Register of Marine Species

Value

A tibble of equation(s)

See also

Examples

if (FALSE) { library(dplyr) eq <- sol_fb_length_weight("Electrona antarctica", input_properties = "standard length") x <- tibble(SL = 10) %>% mutate(SL = sol_set_property(SL, "standard length", with_units = "cm")) sol_allometry(x, eq) }