e_get_data: Get data

View source: R/helpers.R

e_get_dataR Documentation

Get data

Description

Get data passed to e_charts.

Usage

e_get_data(e)

Arguments

e

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

Value

A list of data.frames, one for each group.

Examples

echart <- cars |>
  e_charts(speed) |>
  e_scatter(dist) |>
  e_lm(dist ~ speed)

echart

e_get_data(echart)[[1]]

JohnCoene/echarts4r documentation built on Feb. 23, 2024, 9:21 a.m.