Skip to contents

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

Usage

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

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

Value

The scene or schema back, with the plot added appropriately

See also