Calculate resting energy expenditure
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
)
Calculated resting energy expenditure
character. The equation(s) to use, chosen from
"harris_benedict", "schofield_wt", "schofield_wt_ht",
"fao", "muller_wt_ht", or "muller_ffm"
character. The participant/patient sex, one of "female"
or
"male"
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
character. The desired output unit(s), chosen from
"default", "mj_day", "kcal_day", or "vo2_ml_min"
character. The desired conversion factor(s) for calculating MJ
from kcal, chosen from "thermochemical", "convenience", or "dry"
numeric. The respiratory exchange ratio
character. The desired conversion table(s) to use for
converting kcal to oxygen consumption, chosen from "Lusk",
"Peronnet", or "both"
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
get_ree("schofield_wt_ht", "female", 57.8, wt_kg = 80, ht_m = 1.50)
Run the code above in your browser using DataLab