Plot waterfall data
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | ## S3 method for class 'waterfall'
plot(
x,
select = TRUE,
scales = "fixed",
flip = FALSE,
xlim = NULL,
ylim = c(min(x$start, na.rm = TRUE), max(x$end, na.rm = TRUE) * 1.1),
nrow = NULL,
ncol = NULL,
label_font_size = 3,
color_palette = NULL,
...
)
waterfall_plot(
x,
select = TRUE,
scales = "fixed",
flip = FALSE,
xlim = NULL,
ylim = c(min(x$start, na.rm = TRUE), max(x$end, na.rm = TRUE) * 1.1),
nrow = NULL,
ncol = NULL,
label_font_size = 3,
color_palette = NULL,
...
)
|
x |
a data from waterfall() / waterfall_data() |
select |
apply a filter |
scales |
passed to ggplot2 |
flip |
flip chart to horizontal bars? |
xlim |
passed to ggplot2 |
ylim |
passed to ggplot2 |
nrow |
passed to ggplot2 |
ncol |
passed to ggplot2 |
label_font_size |
passed to ggplot2 |
color_palette |
(optional) manual color_palette |
... |
ignored |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.