Arguments
x
Data frame of the birth data.
type
The variable whose density is to be computed: length, weight, head (or ofc), chest, mother.s.age, gestation (or ga).
gender
Gender of the births based on which the density is to be computed: "male" (default),"female".
location
Location of the births based on which the density to be computed: "r","u","zz","bz","sz","rc".
filter
Filter the data? Default: FALSE. If "TRUE", the data will be filtered such that the analysis will be performed based on those with GA>=38, singleton livebirth, not zero head, mother's age not missing.