rcpp_respiration: rcpp_respiration

View source: R/RcppExports.R

rcpp_respirationR Documentation

rcpp_respiration

Description

Rcpp simulate respration.

Usage

rcpp_respiration(
  fishpop,
  resp_intercept,
  resp_slope,
  resp_temp_low,
  resp_temp_max,
  resp_temp_optm,
  water_temp,
  min_per_i
)

Arguments

fishpop

Matrix with fishpop values.

resp_intercept, resp_slope

Numeric with regression parameters.

resp_temp_low, resp_temp_max, resp_temp_optm

Numeric with water temperature parameters.

water_temp, min_per_i

Numeric with various parameters.

Details

Function to simulate respiration of fish individuals based on movement, body + size and water temperature. The respiration is temperature dependent with an activity multiplier (Hanson et al. 1997). Originally descibed in Kitchell et al. (1977).

If respiration is a infinite number (due to zero division), set to erespiration=1.0.

Value

void

References

Hanson, P.C., Johnson, T.B., Schindler, D.E., Kitchell, J.F., 1997. Fish Bioenergetics 3.0 for Windows manual (Manual). University of Wisconsin-Madison, Centre for Limnology, Madison,USA.

Kitchell, J.F., Stewart, D.J., Weininger, D., 1977. Applications of a bioenergetics model to Yellow Perch (Perca flavescens) and Walleye (Stizostedion vitreum vitreum). J. Fish. Res. Bd. Can. 34, 1922–1935. <https://doi.org/10.1139/f77-258>


Allgeier-Lab/arrR documentation built on Feb. 13, 2025, 7:44 a.m.