bmi3 {dvmisc} | R Documentation |
Convert Continuous BMI Values into 3-Level Factor
Description
Converts a continuous BMI variable into a 3-level factor variable: Normal
weight if [-Inf, 25)
, Overweight if [25, 30)
, and Obese if
[30, Inf)
.
Usage
bmi3(x, labels = TRUE)
Arguments
x |
Numeric vector of BMI values. |
labels |
If |
Value
Factor variable with 3 levels.
[Package dvmisc version 1.1.4 Index]