BMI: BMI

Description Usage Arguments Examples

View source: R/BMI.R

Description

Function for calculating BMI.

Usage

1
BMI(weight, growth, sex = c("female", "male"))

Arguments

weight

numeric, weight of the person for whom we calculate the BMI expressed in kg

growth

numeric, growth of the person for whom we calculate the BMI expressed in meters

sex

string, sex of the person for whom we calculate BMI. Possible values for the parameter: female, male

Examples

1
2
BMI(100, 1.7)
BMI(85, 1.9, "female")

FUTUR-TEAM/Future documentation built on Dec. 17, 2021, 8:22 p.m.