Learn R Programming

plotscaper (version 0.2.8)

add_barplot: Add a barplot to a scene or schema

Description

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

Usage

add_barplot(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 discrete (required), one continuous (optional)

options

A list of options

See Also

add_plot()