Skip to contents

Calculate occipito-frontal diameter for gestational age centiles and z-scores

Usage

calculate_ofd_gestage(gestage = NULL, ofd = 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

ofd

Occipito-frontal diameter in millimetres

Value

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

Examples

calculate_ofd_gestage(gestage = "78+0", ofd = 25)
#> [[1]]
#> [1] 0.00012363
#> 
#> [[2]]
#> [1] 0.5000493
#>