Description Usage Format Source Examples
The BanglaContrac data frame has multilevel data from the 1988 Bangladesh Fertility Survey. There are data on contraceptive use, number of children, age and urban-dweller status of 1,934 women grouped in 60 districts.
1 |
This data frame contains the following columns:
districtIDdistrict identification number.
usingContraceptionindicator that woman is using contraception:
1 = woman using contraception at time of survey,
0 = woman not using contraception at time of survey.
childCodenumerical code for number of living children:
1 = no living children at time of survey,
2 = one living child at time of survey,
3 = two living children at time of survey,
4 = three or more living children at time of survey.
ageMinusMeanage in years of woman at time of survey, with mean age subtracted
isUrbanindicator that woman lives in an urban region:
1 = woman an urban region dweller at time of survey,
0 = woman a rural region dweller at time of survey.
Huq, N.M. and Cleland, J. (1990). Bangladesh Fertility Survey 1989 (Main Report). Dhaka, Bangladesh: National Institute of Population Research and Training.
1 2 3 4 | library(HRW) ; data(BanglaContrac)
if (require("lattice"))
print(xyplot(jitter(usingContraception) ~ ageMinusMean|factor(districtID),
groups = childCode, data = BanglaContrac))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.