calculate_gestage: Calculate gestational age given crown-rump length and/or head...

View source: R/01-calculate_gestage.R

calculate_gestageR Documentation

Calculate gestational age given crown-rump length and/or head circumference and femur length based on ultrasound

Description

Calculate gestational age given crown-rump length and/or head circumference and femur length based on ultrasound

Usage

calculate_gestage(date = Sys.Date(), crl = NULL, hc = NULL, fl = NULL)

Arguments

date

Date when measurement/s was/were taken. Defaults to current date.

crl

Crown-rump length measurement in millimetres

hc

Head circumference measurement in millimetres

fl

Femur 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)
calculate_gestage(date = "2016-23-12", hc = 130, fl = 20)


nutriverse/intergrowth documentation built on Jan. 28, 2023, 12:21 a.m.