Harris.Benedict: Harris Benedict Equation

Description Usage Arguments Value Author(s)

View source: R/inteRn.R

Description

Estimate the Basal Metabolic Rate according to the Harris Benedict equation

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
Harris.Benedict(
  height = 62,
  age = 28, 
  weight = 154, 
  weight.goal = 140, 
  dia = c(1, 2, 3, 4, 5),
  calorias = c(805, 720, 1210, 1000, 759), 
  Make.Plot = TRUE, 
  sex = "female"
)

Arguments

height

Numerical value corresponding to the height measured in inches.

age

Numerical value corresponding to the age measured in years.

weight

Numerical value corresponding to the weight measured in pounds.

weight.goal

Numerical value corresponding to the desired weight measured in pounds.

dia

Vector of numerical values corresponding to index of days you kept tract of calories.

calorias

Vector of numerical values corresponding to the calories consumed on 'dia'.

Make.Plot

Boolean value where if TRUE a plot of the calories per day is made. Only should be true if 'dia' and 'calorias' are provided.

sex

String value corresponding to sex of patient. Should be 'male' or 'female'. Please use lower case.

Value

Returns an object list with BMRs and plot if Make.Plot is TRUE.

Author(s)

Carlos C Vera Recio


CCVR/inteRn documentation built on Dec. 17, 2021, 12:51 p.m.