Learn R Programming

malariaAtlas (version 1.6.3)

autoplot_MAPraster: Quickly visualise Rasters downloaded from MAP

Description

autoplot_MAPraster is a wrapper for autoplot.MAPraster that calls as.MAPraster to allow automatic map creation for RasterLayer/RasterStack objects downloaded from MAP.

Usage

autoplot_MAPraster(object, ...)

Value

autoplot_MAPraster returns a list of plots (gg objects) for each supplied raster.

Arguments

object

RasterLayer/RasterStack object to be visualised.

...

other optional arguments to autoplot.MAPraster (e.g. shp_df, legend_title, page_title...)

See Also

getRaster:

to download rasters directly from MAP.

as.MAPraster:

to convert RasterLayer/RasterStack objects into a 'MAPraster' object (data.frame) for easy plotting with ggplot.

autoplot.MAPraster:

to quickly visualise MAPraster objects created using as.MAPraster.