Estimates the basal metabolic rate of a person.
bmr(weight, age, fat, height, activity = 1.45, method = "msj", gender = "male")
weight, in kilograms
age, in years
fat proportion in body
height, in centimeters
activity level (a scalar between 1 and 2)
calculation method ("msj" for Mifflin-St. Jeor or "kma" for Katch-McArdle)
"male" or "female"
The Basal Metabolic Rate, in kilocalories
https://www.calculator.net/bmr-calculator.html
Mifflin, M. D., St Jeor, S. T., Hill, L. A., Scott, B. J., Daugherty, S. A., & Koh, Y. O. (1990). A new predictive equation for resting energy expenditure in healthy individuals. The American journal of clinical nutrition, 51(2), 241-247.
McArdle, W. D., Katch, F. I., & Katch, V. L. (2010). Exercise physiology: nutrition, energy, and human performance. Lippincott Williams & Wilkins.
bmr(67, 40, .12, 178) # for an individual with 12% body fat
#> [1] 2305.543