get_metabolic_rate: Calculate Metabolic Rate

Description Usage Arguments Value Examples

View source: R/met-rate.R

Description

This function compute metabolic rate (Cal/m2/hr) from Harvard Spirometer tracing, subject's weight and height, and environmental condition i.e., barometric pressure and temperature. The output printed to console will show each step of calculation which is suitable for educational purposes.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
get_metabolic_rate(
  x,
  y,
  paper_speed = 25,
  baro,
  temp_c,
  wt_kg,
  ht_cm,
  cal_eqi_oxygen = 4.825
)

Arguments

x

Displacement of tracing in x-direction (in millimeter).

y

Displacement of tracing in y-direction (in millimeter).

paper_speed

Paper speed of the kymograph (in millimeter/minute), 25 ml/min by default.

baro

(If condition = "STPD") Barometric pressure at the recording site.

temp_c

(If condition = "STPD") Temperature in celsius at the recording site.

wt_kg

(Numeric) Weight of the subject in kilogram

ht_cm

(Numeric) Height of the subject in centimetre

cal_eqi_oxygen

(Numeric) Caloric equivalent of Oxygen (default is 4.825, at RQ = 0.82)

Value

Report printed to console, return metabolic rate in Cal/m2/hr, invisibly

Examples

1
2
3
get_metabolic_rate(x = 20, y = 10,
                   baro = 760, temp_c = 25,
                   wt_kg = 80, ht_cm = 180)

Lightbridge-KS/rslab documentation built on Feb. 24, 2022, 1:36 a.m.