e_parallel: Parallel

View source: R/add.R

e_parallelR Documentation

Parallel

Description

Draw parallel coordinates.

Usage

e_parallel(e, ..., name = NULL, rm_x = TRUE, rm_y = TRUE, opts = list())

e_parallel_(e, ..., name = NULL, rm_x = TRUE, rm_y = TRUE, opts = list())

Arguments

e

An echarts4r object as returned by e_charts or a proxy as returned by echarts4rProxy.

...

Columns to select from the data passed to e_charts.

name

name of the serie.

rm_x, rm_y

Whether to remove x and y axis, defaults to TRUE.

opts

A list of additional options to pass to the serie.

See Also

Additional arguments

Examples

df <- data.frame(
  price = rnorm(5, 10),
  amount = rnorm(5, 15),
  letter = LETTERS[1:5]
)

df |>
  e_charts() |>
  e_parallel(price, amount, letter, opts = list(smooth = TRUE))

echarts4r documentation built on July 9, 2023, 7:26 p.m.