bmi: Calculates Body Mass Index

Description Usage Arguments Value Examples

Description

Calculates Body Mass Index

Usage

1
bmi(height, weight, units = "english")

Arguments

height

Height of individual of numeric vector. In inches if english units and meters if metric units.

weight

Weight of individual of numeric vector. In pounds if english units and kilograms if metric units.

units

Character vector representing the units convention used for height and weight. Either "english" or "metric". Default is "english".

Value

numeric vector representing the BMI of an individual based on their height and weight

Examples

1
2
bmi(72,1.7,"metric")
bmi(66,140)

armaanshah96/runner documentation built on May 10, 2019, 1:39 p.m.