get_ree: Calculate resting energy expenditure

View source: R/get_ree.R

get_reeR Documentation

Calculate resting energy expenditure

Description

Calculate resting energy expenditure

Usage

get_ree(
  method = c("harris_benedict", "schofield_wt", "schofield_wt_ht", "fao",
    "muller_wt_ht", "muller_ffm"),
  sex,
  age_yr = NA,
  ...,
  output = c("default", "mj_day", "kcal_day", "vo2_ml_min"),
  calorie = c("thermochemical", "convenience", "dry"),
  RER = 0.86,
  kcal_table = c("Lusk", "Peronnet", "both"),
  df = NULL
)

Arguments

method

character. The equation(s) to use, chosen from "harris_benedict", "schofield_wt", "schofield_wt_ht", "fao", "muller_wt_ht", or "muller_ffm"

sex

character. The participant/patient sex, one of "female" or "male"

age_yr

numeric. The participant/patient age in years. Not used for method = "muller_ffm", but a value must still be given if a data frame is passed. (The value does not need to correspond with age, it is simply a placeholder to satisfy internal checks that are applied to all equations when making computations on a data frame.)

...

arguments (e.g. wt_kg or ht_cm) for calculations. An error message will clarify which variables need to be passed if they are missing

output

character. The desired output unit(s), chosen from "default", "mj_day", "kcal_day", or "vo2_ml_min"

calorie

character. The desired conversion factor(s) for calculating MJ from kcal, chosen from "thermochemical", "convenience", or "dry"

RER

numeric. The respiratory exchange ratio

kcal_table

character. The desired conversion table(s) to use for converting kcal to oxygen consumption, chosen from "Lusk", "Peronnet", or "both"

df

optional data frame. If passed, all prior arguments should be character scalars pointing to a column in df that contains the corresponding information is stored

Value

Calculated resting energy expenditure

Examples

get_ree("schofield_wt_ht", "female", 57.8, wt_kg = 80, ht_m = 1.50)

PAutilities documentation built on Aug. 21, 2022, 9:05 a.m.