e_funnel | R Documentation |
Add a funnel.
e_funnel(
e,
values,
labels,
name = NULL,
legend = TRUE,
rm_x = TRUE,
rm_y = TRUE,
...
)
e_funnel_(
e,
values,
labels,
name = NULL,
legend = TRUE,
rm_x = TRUE,
rm_y = TRUE,
...
)
e |
An |
values, labels |
Values and labels of funnel. |
name |
name of the serie. |
legend |
Whether to add serie to legend. |
rm_x, rm_y |
Whether to remove x and y axis, defaults to |
... |
Any other option to pass to |
No bind
argument here, with a funnel bind
= labels
.
funnel <- data.frame(
stage = c("View", "Click", "Purchase"),
value = c(80, 30, 20)
)
funnel |>
e_charts() |>
e_funnel(value, stage)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.