prepare_legend: Build a Legend

View source: R/viz_coordinates.R

prepare_legendR Documentation

Build a Legend

Description

Build a Legend

Usage

prepare_legend(x, args, points = TRUE, lines = TRUE)

Arguments

x

A data.frame returned by prepare_plot().

args

A list of additional arguments to be passed to graphics::legend(); names of the list are used as argument names. If NULL or empty, no legend is displayed.

points

A logical scalar: legend for points?

lines

A logical scalar: legend for lines?

Author(s)

N. Frerebeau


dimensio documentation built on Sept. 11, 2024, 8:35 p.m.