stat_sphere_shading: Compute sphere shading per group for the given data

Description Usage Arguments Examples

View source: R/stat_sphere_shading.R

Description

The sphere shading statistic transform the height data into sphere shading data value. See ?ray_shade from the rayshader package.

Usage

1
2
3
stat_sphere_shading(mapping = NULL, data = NULL, geom = "point",
  position = "identity", sun.angle = 1/3 * pi, slope = F, res = 1,
  zscale = 1, ..., show.legend = NA, inherit.aes = TRUE)

Arguments

...

other arguments passed on to [layer()]. These are often aesthetics, used to set an aesthetic to a fixed value, like 'color = "red"' or 'size = 3'. They may also be parameters to the paired geom/stat.

Examples

1
# Example with the volcano dataset

Clement-Viguier/ShadeR documentation built on Nov. 6, 2019, 4:46 p.m.