e_radar {echarts4r} | R Documentation |
Radar
Description
Add a radar chart
Usage
e_radar(
e,
serie,
max = 100,
name = NULL,
legend = TRUE,
rm_x = TRUE,
rm_y = TRUE,
...,
radar = list()
)
e_radar_(
e,
serie,
max = 100,
name = NULL,
legend = TRUE,
rm_x = TRUE,
rm_y = TRUE,
...,
radar = list()
)
Arguments
e |
An |
serie |
Column name of serie to plot. |
max |
Maximum value. |
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, check See Also section. |
radar |
A |
Examples
df <- data.frame(
x = LETTERS[1:5],
y = runif(5, 1, 5),
z = runif(5, 3, 7)
)
df |>
e_charts(x) |>
e_radar(y, max = 7) |>
e_radar(z) |>
e_tooltip(trigger = "item")
[Package echarts4r version 0.4.5 Index]