loaloa | R Documentation |
Location and prevalence data from villages, elevation an vegetation index for the study region.
data("loaloa")
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.
https://web.archive.org/web/20240110054727/http://www.leg.ufpr.br/doku.php/pessoais:paulojus:mbgbook:datasets for the loaloa data, https://web.archive.org/web/20241129120557/https://lpdaac.usgs.gov/data/ for EVI and land type and https://srtm.csi.cgiar.org for the elevation data.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.