plot.box: Plot a frequency box object.

View source: R/plot_util.R

plot.boxR Documentation

Plot a frequency box object.

Description

plot.box is a utility method that allows to plot low level boxes for riskyr plots.

Usage

## S3 method for class 'box'
plot(x, cur_freq = freq, lbl_txt = txt, col_pal = pal, ...)

Arguments

x

The box (i.e., an object of class box) to be plotted.

cur_freq

Current frequency information (see freq for details).

lbl_txt

Current text information (see txt for details).

col_pal

Current color palette (see pal for details).

...

Additional (graphical) parameters to be passed to the underlying plotting functions.

Details

plot.riskyr also uses the text settings specified in the "riskyr" object.

See Also

Other utility functions: as_pb(), as_pc()


riskyr documentation built on Aug. 15, 2022, 9:09 a.m.