gambia | R Documentation |
Malaria prevalence in children recorded at villages in The Gambia, Africa.
data(gambia)
Two objects are made available:
gambia
A data frame with 2035 observations on the following 8 variables.
x-coordinate of the village (UTM).
y-coordinate of the village (UTM).
presence (1) or absence (0) of malaria in a blood sample taken from the child.
age of the child, in days
indicator variable denoting whether (1) or not (0) the child regularly sleeps under a bed-net.
indicator variable denoting whether (1) or not (0) the bed-net is treated (coded 0 if netuse=0).
satellite-derived measure of the green-ness of vegetation in the immediate vicinity of the village (arbitrary units).
indicator variable denoting the presence (1) or absence (0) of a health center in the village.
gambia.borders
A data frame with 2 variables:
x-coordinate of the country borders.
y-coordinate of the country borders.
Thomson, M., Connor, S., D Alessandro, U., Rowlingson, B., Diggle, P., Cresswell, M. & Greenwood, B. (1999). Predicting malaria infection in Gambian children from satellite data and bednet use surveys: the importance of spatial correlation in the interpretation of results. American Journal of Tropical Medicine and Hygiene 61: 2–8.
Diggle, P., Moyeed, R., Rowlingson, B. & Thomson, M. (2002). Childhood malaria in The Gambia: a case-study in model-based geostatistics, Applied Statistics.
plot(gambia.borders, type="l", asp=1)
points(gambia[,1:2], pch=19)
# a built-in function for a zoomed map
gambia.map()
# Building a "village-level" data frame
ind <- paste("x",gambia[,1], "y", gambia[,2], sep="")
village <- gambia[!duplicated(ind),c(1:2,7:8)]
village$prev <- as.vector(tapply(gambia$pos, ind, mean))
plot(village$green, village$prev)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.