scot_v_eng# A tibble: 2 × 6
country n_people n_women1544 n_births propw1544 bpw
<chr> <dbl> <dbl> <dbl> <dbl> <dbl>
1 Scotland 5546900 1064441 45763 0.192 43.0
2 England 58620101 11583779 567708 0.198 49.0
dgnpop(scot_v_eng,
pop = "country",
factors=c("propw1544","bpw")) |>
dg_table() England Scotland diff decomp
propw1544 9.090 8.827 -0.2626 18.31
bpw 9.545 8.373 -1.1717 81.69
crude 9.685 8.250 -1.4343 100.00











