Learn R Programming

echarts4r (version 0.2.0)

e_clean: Clean

Description

Removes base data.frame.

Usage

e_clean(e)

Arguments

e

An echarts4r object as returned by e_charts.

Details

Removes the core database after all operations are exectuted, lightens up the load on final visualisation.

Examples

Run this code
# NOT RUN {
df <- data.frame(
  x = 1:10,
  y = round(
    runif(10, 1, 100), 2
  ) 
)

df %>% 
  e_charts(x) %>% 
  e_line(y) %>% 
  e_format_y_axis(suffix = "%") %>%
  e_format_x_axis(prefix = "A") %>% 
  e_clean()

# }

Run the code above in your browser using DataLab