Skip to contents

Calculate bi-parietal diameter for gestational age centiles and z-scores

Usage

calculate_bpd_gestage(gestage = NULL, bpd = NULL)

Arguments

gestage

Gestational age. Gestational age can be provided as a string with a format of weeks+days or as numeric of exact weeks in decimal format

bpd

Bi-parietal diameter in millimetres

Value

A list of 2 elements containing 1) bi-parietal diameter-for-gestational age z-score; and, 2) bi-parietal diameter-for-gestational age centile.

Examples

calculate_bpd_gestage(gestage = "78+0", bpd = 20)
#> [[1]]
#> [1] 6.390874e-07
#> 
#> [[2]]
#> [1] 0.5000003
#>