Usage
getTrophicLevel(fish.data = NULL, path = NULL, as_table = FALSE,
from = c("diet composition", "individual food items"), unfished = FALSE,
justSE = FALSE, justReference = FALSE)
Arguments
fish.data
the fishbase database fish.data or a
subset,
path
to cached copy of fishbase (optional,
defaults to copy in package).
as_table
logical. if True, returns the whole
table. Otherwise (default), returns the element from the
table that is specified by the other options.
from
use the diet composition or the individual
food items? See fishbase.org for details on these
differences. Both may or may not be available.
unfished
return the estimate for unfished
population (default FALSE). See fishbase.org for
details.
justSE
return the standard deviation to the
estimated trophic level. If FALSE, returns the estimated
value, so you must use two calls, or use as_table=TRUE,
to get both values.
justReference
logical. return the reference used
for estimation (without other data).