bmi_cat {lvmisc}R Documentation

Classify body mass index (BMI) category

Description

bmi_cat returns the element-wise BMI category as factor with 6 levels:

Usage

bmi_cat(bmi)

Arguments

bmi

A numeric vector with BMI data. BMI unit must be meters per square meter.

Value

A vector of class factor with 6 levels: "Underweight", "Normal weight", "Overweight", "Obesity class I", "Obesity class II" and "Obesity class III".

See Also

bmi()

Examples

mass <- sample(50:100, 20)
height <- rnorm(20, mean = 1.7, sd = 0.2)
bmi <- bmi(mass, height)

bmi_cat(bmi)

[Package lvmisc version 0.1.2 Index]