ggRx: Plot rasters in ggplot with greyscale

Description Usage Arguments

Description

Plot rasters in ggplot with greyscale

Usage

1
2
ggRx(x, layer = 1, maxpixels = 5e+06, lowColor = "white",
  highColor = "black", legendName = "Legend", ggObj = TRUE)

Arguments

x

raster

layer

layername

maxpixels

Integer. Maximal number of pixels to sample

lowColor

Character. Color for lowest value

highColor

Character. Color for highest value

legendName

Character. Layer name

ggObj

Logical. Return a ggplot2 object (TRUE) or just the data.frame


bleutner/knit2docx documentation built on May 12, 2019, 9:31 p.m.