Learn R Programming

plotscaper (version 0.2.8)

add_scatterplot: Add a scatterplot to a scene or schema

Description

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

Usage

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

options

A list of options

See Also

add_plot()