outraster: Create raster objects from simulations

outrasterR Documentation

Create raster objects from simulations

Description

Function read simulation files (.out) returned by 'ssdpars()' and returns a list with simulated maps (rasterstack object), e-type and uncertainty maps (rasterlayers).

Usage

outraster(grdobj, grids = FALSE, emaps = TRUE)

Arguments

grdobj,

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

grids,

if grids = T saves simulated maps in 'native' raster package format .grd

emaps,

if emaps = T (default), saves e-type and uncertainty maps in format .grd

Details

All .grd files are geographic (spatial) data in 'raster' format, and are stored in input folder.

Value

simulations

a rasterstack (package 'raster') where each layer is a simulation

etype

a rasterlayer representing median-etype map for disease risk

uncertainty

a rasterlayer representing risk uncertainty map for disease risk


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