legendDefinition: helper function for the function customLegend(): generates a...

View source: R/graphicR.R

legendDefinitionR Documentation

helper function for the function customLegend(): generates a data.frame specifying the legend to be generated

Description

helper function for the function customLegend(): generates a data.frame specifying the legend to be generated

Usage

legendDefinition(labels = NA, colors = NA, fills = NA, shapes = NA, sizes = NA)

Arguments

labels

labels of the elements of the legend (character vector)

colors

colors of the elements of the legend

fills

fill colors of the elements of the legend

shapes

shapes of the elements of the legend

sizes

sizes of the elements of the legend

Value

a data.frame


BenBruyneel/BBPersonalR documentation built on Aug. 23, 2024, 8:28 p.m.