ggplot: Create a new ggplot plot.

Description Usage Arguments

Description

This function is same as ggplot2::ggplot. In ggplot2.SparkR, we define a new method for Spark DataFrame

Usage

1
ggplot(data = NULL, mapping = aes(), ..., environment = parent.frame())

Arguments

data

Default dataset to use for plot. If not already a data.frame, will be converted to one by fortify. If not specified, must be suppled in each layer added to the plot.

mapping

Default list of aesthetic mappings to use for plot. If not specified, must be suppled in each layer added to the plot.

...

Other arguments passed on to methods. Not currently used.

environment

If an variable defined in the aesthetic mapping is not found in the data, ggplot will look for it in this environment. It defaults to using the environment in which ggplot() is called.


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