Learn R Programming

plotscaper (version 0.2.8)

add_histogram: Add a histogram to a scene or schema

Description

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

Usage

add_histogram(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: one continuous (required), one continuous (optional)

options

A list of options

See Also

add_plot()