Skip to contents

Calculate gestational age given crown-rump length (mm) based on ultrasound

Usage

calculate_gestage_crl(date = Sys.Date(), crl = NULL)

Arguments

date

Date when measurement/s was/were taken. Date should be provided in format. Defaults to current date.

crl

Crown-rump length measurement in millimetres.

Value

A list of 3 elements containing 1) gestational age in weeks (numeric); 2) gestational age in weeks and days (character); and, 3) expected date of delivery (date).

Examples


calculate_gestage(date = "2016-23-12", crl = 17)
#> Estimating gestational age using crown-rump length of 17 mm.
#> [[1]]
#> [1] 8.585092
#> 
#> [[2]]
#> [1] "8 weeks and 4 days"
#> 
#> [[3]]
#> [1] "2017-07-31"
#>