gg_raster: Plot a raster using gg_plot

Description Usage Arguments Methods (by class)

Description

Creates a facetted plot of a raster or set of rasters using ggplot.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
gg_raster(x, labels = names(x), nrow = 1, highlight = 1, invert = FALSE)

## S4 method for signature 'RasterLayer'
gg_raster(x, labels, highlight, invert)

## S4 method for signature 'RasterStack'
gg_raster(x, labels = names(x), nrow = 1,
  highlight = 1, invert = FALSE)

## S4 method for signature 'RasterBrick'
gg_raster(x, labels = names(x), nrow = 1,
  highlight = 1, invert = FALSE)

Arguments

x

A Raster* object.

labels

Character vector. Facet labels.

nrow

Integer. Number of rows for facets of rasters.

highlight

Highlight a region of the raster by alter alpha level of some parts.

invert

Invert the highlighted region.

Methods (by class)


wkmor1/voiConsPlan documentation built on May 4, 2019, 7:34 a.m.