Moultrie rule for Children Ever Born
Moultrie's proposal for correction of Children Ever Born in five-year grouped ages.
Moultrie(data, ...)
data
: data.drame. It contains at least three variables: five-year grouped ages, number of childs and Children Ever Born (CEB)....
: Arguments to be passed to dplyr::select
, i.e., five-year grouped ages, number of childs and Children Ever Born.Moultrie
returns a data.frame with corrected childs for each number of Children Ever Born and five-year grouped ages.
CEB_data <- tidyr::gather(CEB, ages, childs, -Children_Ever_Born) results <- Moultrie(CEB_data, ages, childs, Children_Ever_Born) tidyr::pivot_wider(results, names_from=age, values_from=childs)
Rdpack::insert_ref(key="moultrie",package="popstudy")
CEB
El_Badry
Cesar Gamboa-Sanabria