Learn R Programming

admiral (version 1.3.0)

compute_bmi: Compute Body Mass Index (BMI)

Description

Computes BMI from height and weight

Usage

compute_bmi(height, weight)

Value

The BMI (Body Mass Index Area) in kg/m^2.

Arguments

height

HEIGHT value

It is expected that HEIGHT is in cm.

Permitted values

numeric vector

Default value

none

weight

WEIGHT value

It is expected that WEIGHT is in kg.

Permitted values

numeric vector

Default value

none

Details

Usually this computation function can not be used with %>%.

See Also

derive_param_bmi()

BDS-Findings Functions that returns a vector: compute_bsa(), compute_egfr(), compute_framingham(), compute_map(), compute_qtc(), compute_qual_imputation(), compute_qual_imputation_dec(), compute_rr(), compute_scale(), transform_range()

Examples

Run this code
compute_bmi(height = 170, weight = 75)

Run the code above in your browser using DataLab