geom_surface: Translate raster into ggplot object

View source: R/geom_surface.R

geom_surfaceR Documentation

Translate raster into ggplot object

Description

This function takes a raster and translates it into a ggplot geometry layer for plotting.

Usage

geom_surface(raster, ...)

Arguments

raster

An object of type raster

...

Passed on to geom_tile as optional arguments.

Value

An object of type geom_tile

Author(s)

Rodney J. Dyer rjdyer@vcu.edu


dyerlab/gstudio documentation built on Feb. 2, 2024, 8:24 p.m.