Learn R Programming

plotscaper (version 0.2.8)

add_histogram2d: Add a 2D histogram to a scene or schema

Description

This function adds a 2D histogram to a plotscaper scene or schema.

Usage

add_histogram2d(x, variables = NULL, options = NULL)

Value

The scene or schema back, with the plot added appropriately

Arguments

x

A plotscaper scene or schema object

variables

A vector of variable names: two continuous (required), one continuous (optional)

options

A list of options

See Also

add_plot()