loaloa {geostatsp} | R Documentation |
Loaloa prevalence data from 197 village surveys
Description
Location and prevalence data from villages, elevation an vegetation index for the study region.
Usage
data("loaloa")
Format
loaloa
is a SpatVector
containing the data, with columns N
being the number
of individuals tested and y
being the number of positives.
elevationLoa
is a raster of elevation data.
eviLoa
is a raster of vegetation index for a specific date. ltLoa
is land type.
ltLoa
is a raster of land types. 1 2 5 6 7 8 9 10 11 12 13 14 15
tempLoa
is a raster of average temperature in degrees C.
Source
http://www.leg.ufpr.br/doku.php/pessoais:paulojus:mbgbook:datasets for the loaloa data, https://lpdaac.usgs.gov/data/ for EVI and land type and https://srtm.csi.cgiar.org for the elevation data.
Examples
data("loaloa")
loaloa = unwrap(loaloa)
plot(loaloa, main="loaloa villages")
# elevation
elevationLoa = unwrap(elevationLoa)
plot(elevationLoa, col=terrain.colors(100), main="elevation")
points(loaloa)
# vegetation index
eviLoa = unwrap(eviLoa)
plot(eviLoa, main="evi")
points(loaloa)
tempLoa = unwrap(tempLoa)
plot(tempLoa, main="temperature")
points(loaloa)
# land type, a categorical variable
ltLoa = unwrap(ltLoa)
plot(ltLoa)
if(requireNamespace("mapmisc")){
mapmisc::legendBreaks("bottomleft",ltLoa, bty='n')
}
points(loaloa)
[Package geostatsp version 2.0.6 Index]