This function creates a mock pregnant and fetus population
mockPregnancy.Rd
This function creates a mock pregnant and fetus population
Usage
mockPregnancy(
mothertable = NULL,
babytable = NULL,
pregnancy_size = 100,
fetus_size = 110,
seed = 1
)
Arguments
- mothertable
creates a table according to the mothertable of the pregnancy extension Table in OHDSI
- babytable
creates a table according to the babytable of the pregnancy extension Table in OHDSI
- pregnancy_size
chose the number of pregnancies
- fetus_size
chose the number of fetuses, has to be equal or larger than number of pregnancies
- seed
chose a numer, like 1 for example