BMI: Scoring of BMI

BMIR Documentation

Scoring of BMI

Description

The function returns the BMI.

Make sure the unit of height is centimeter (cm) and the unit of weight is kilogram (kg).

Usage

Score_BMI(data,ht="Height",wt="Weight")

Arguments

data

input data

ht

the variable name of height in the data. The default is “Height”

wt

the variable name of weight in the data. The default is “Weight”

Author(s)

Wangcheng Yan, Wenjun Zhou

References

https://en.wikipedia.org/wiki/Body_mass_index

Examples

library(Fruved)
data("STRESS_IPAQ_BMI")
Score_BMI(STRESS_IPAQ_BMI)

wzhou7/Fruved documentation built on Feb. 4, 2024, 2:32 p.m.