layer_SparkR: Create a new layer

Description Usage Arguments

Description

A layer is a combination of data, stat and geom with a potential position adjustment. Usually layers are created using geom_* or stat_* calls but it can also be created directly using this function.

Usage

1
2
3
layer_SparkR(geom = NULL, stat = NULL, data = NULL, mapping = NULL,
  position = NULL, params = list(), inherit.aes = TRUE, subset = NULL,
  show.legend = NA)

Arguments

geom

The geometric object to use display the data

stat

The statistical transformation to use on the data for this layer, as a string.

data

The data to be displayed in this layer.

mapping

Set of aesthetic mapping created by aes or aes_.

position

Position adjustment, either as a string, or the result of a call to a position adjustment function.

params

Additional parameters to the geom and stat.

inherit.aes

If FALSE, overrides the default aesthetics, rather ehan combining with them.

subset

DEPRECATED. Do not use now.

show.legend

logical. Should this layer be included in the legends?


SKKU-SKT/ggplot2.SparkR documentation built on May 9, 2019, 11:13 a.m.