Question: R programming write a function that calculates the Basal Metabolic Rate (MBR) using the Mifflin St. Jeor equation indicated below (https://en.wikipedia.org/wiki/Basal_metabolic_rate). Basal metabolic rate is

R programming write a function that calculates the Basal Metabolic Rate (MBR) using the Mifflin St. Jeor equation indicated below (https://en.wikipedia.org/wiki/Basal_metabolic_rate). Basal metabolic rate is the amount of energy per unit of time that a person needs to keep the body functioning at rest. The function should use the parameters indicated below as well as the gender of the user (assume female by default). Call your function BRM and not P as shown in the figure. Notice the possible values of the s parameters that allows to use the formula for either males or females. In the formula (kcal/day) is the type of unit that the function returns and not a factor of the right-hand side of the formula

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!