Description Usage Arguments Examples
Calculate body mass index using weight in kg / (height in meters ^ 2)
1 2 3 | bmi_adult(height_m, weight_kg, ...)
bmi_adult_ins_lbs(heightin, weightlb, ...)
|
height_m |
single numeric, height in meters |
weight_kg |
numeric vector of weight(s) in kg |
... |
passed to validation |
heightin |
height in inches |
weightlb |
weight in pounds |
1 2 3 | bmi_adult(1.6, 120)
bmi_adult(2, 75)
bmi_adult_ins_lbs(72, 200)
|
[1] 46.875
[1] 18.75
[1] 131.8352
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.