bias_correct_energy_etc: Bias correct stomach content due to energy contents, armament...

View source: R/bias_correct_energy_etc.R

bias_correct_energy_etcR Documentation

Bias correct stomach content due to energy contents, armament etc.

Description

Bias correct stomach content due to prey energy density and armament.

Usage

bias_correct_energy_etc(
  x,
  nodc_group_file,
  param_file,
  temperature_file,
  energy_file,
  hour_multiplier = 1,
  pred_length_multiplier = 1,
  stomach_consum = c("stom", "cons")[1]
)

Arguments

x

Stomach data of class STOMobs

nodc_group_file

a

param_file

b

temperature_file

c

energy_file

d

hour_multiplier

The stomach contents prey weight (prey_w) is transformed into an eaten food ration (grammes per hour) which can be considered a as proxy for stomach contents weight.food ration The unit, grammes per hour can be changed by the hour_multiplier, e.g hour_multiplier=2190 will provide g/quarter of the year.;

pred_length_multiplier

Multiplier for predator length (to derive the predator length used (in cm) from the predator length variable (pred_l)used in data)

stomach_consum

bias correct stomach observations or estimate unbiased food consumption

Value

Stomach contents data of class STOMobs where the observed prey weights has been recalculated to ration eaten by hour (or any other unit chosen by hour_multiplier)


MortenVinther/FishStomachs documentation built on Feb. 14, 2025, 7:33 a.m.