po_box {d3po} | R Documentation |
Boxplot
Description
Draw a boxplot.
Usage
po_box(d3po, ..., data = NULL, inherit_daes = TRUE)
Arguments
d3po |
Either the output of |
... |
Aesthetics, see |
data |
Any dataset to use for plot, overrides data passed
to |
inherit_daes |
Whether to inherit aesthetics previous specified. |
Value
an 'htmlwidgets' object with the desired interactive plot
Examples
d3po(pokemon) %>%
po_box(daes(x = type_1, y = speed, color = color_1)) %>%
po_title("Distribution of Pokemon speed by main type")
[Package d3po version 0.5.5 Index]