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