spmap: Creates elegant simulations, median e-type/uncertainty maps

View source: R/load.R

spmapR Documentation

Creates elegant simulations, median e-type/uncertainty maps

Description

The function wraps functions from ggplot2 to provide a more elegant map.

Usage

spmap(mapobj = maps, mapvar = "etype", simid = 1, legname = "")

Arguments

mapobj

string, name of list, output of function 'outraster()'

mapvar

character, the map to be plotted, one of the following c("etype", "unc", "simulations")

simid

numeric, for mapvar = "simulations", is the simulation number to be plotted.

legname

character, legend title.

Details

As input you should provide a 'RasterLayer' object returned by 'outraster()'.

Value

'spmap()' is used to map spatially continuous maps representing disease risk simulations, median e-type disease risk or spatial uncertainty (inter-quartile difference) generated by the block direct sequential simulation algorithm.


maluicr/blockdss documentation built on Nov. 22, 2023, 11:42 a.m.