vl_config_boxplot
vl_config_boxplot.Rd
Add boxplot config (BoxPlotConfig) to a vega-lite spec.
Usage
vl_config_boxplot(
spec,
box = NULL,
extent = NULL,
median = NULL,
outliers = NULL,
rule = NULL,
size = NULL,
ticks = NULL,
.object = NULL
)
Arguments
- spec
An input vega-lite spec
- box
boolean
Or: MarkConfig
- extent
The extent of the whiskers. Available options include:
"min-max"
: min and max are the lower and upper whiskers respectively.A number representing multiple of the interquartile range. This number will be multiplied by the IQR to determine whisker boundary, which spans from the smallest data to the largest data within the range [Q1 - k * IQR, Q3 + k * IQR] where Q1 and Q3 are the first and third quartiles while IQR is the interquartile range (Q3-Q1).
Default value:
1.5
.- median
boolean
Or: MarkConfig
- outliers
boolean
Or: MarkConfig
- rule
boolean
Or: MarkConfig
- size
Size of the box and median tick of a box plot
- ticks
boolean
Or: MarkConfig
- .object
Directly input an object, rather than creating one via the other arguments. Should not be used in conjunction with the other arguments other than
spec
. Objects can be of type: BoxPlotConfig