Skip to contents

tells us how pregnancy dates and gestational age add up in the mothertable

Usage

summariseGestationalAge(worktable, minGestAge_Days)

Arguments

worktable

is the mothertable

minGestAge_Days

is minimum number of days of gestational age for which we test whether the end was before (start + minGestAge_Days)

Value

returns a table with the dates checks

Examples

# \donttest{
cdm <- mockPregnancy()
summariseGestationalAge(cdm$mothertable, minGestAge_Days = 28)
# }