bmi: Body Mass Index

Description Usage Arguments Details Value

View source: R/bmi.R

Description

This function calculates BMI records using height and weight results from CPRD GOLD.

Usage

1
bmi(cohort, height, weight)

Arguments

cohort

A dataframe containing at least one column called patid

height

A dataframe extracted from the height() function

weight

A dataframe extracted from the weight() function

Details

It assumes that your cohort contains a column named patid and that the weight and height tables have already been extracted.

Value

A dataframe containing all bmi records


Puddlepp/goldfunctions documentation built on Dec. 18, 2021, 8:41 a.m.