extractGroupSettings: Extract the appearance settings from a plotting data frame

Description Usage Arguments Value Examples

View source: R/LineChart-functions.R

Description

Extract the appearance settings from a plotting data frame

Usage

1

Arguments

plotDf

The plotting data frame to extract settings from.

Value

The extracted settings.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data(ChickWeight)
plotDf = lineChart(weight ~ Time * Diet, ChickWeight, legendPosition="topleft")

#From a data frame used for plotting, extract the settings
settings = extractGroupSettings(plotDf)

settings$symbol = 21:24 #Make a small adjustment to the settings

#Re-plot the data with new settings
lineChart(weight ~ Time * Diet, ChickWeight, legendPosition="topleft", settings=settings)

hardmanko/LineChart-package documentation built on Aug. 26, 2020, 10:39 a.m.