powered by
data.frame
list
Convert data to a format suitable for ApexCharts.js
parse_df(data, add_names = FALSE)
A list that can be used to specify data in ax_series for example.
ax_series
A data.frame or an object coercible to data.frame.
Use names of columns in output. Can be logical to reuse data names or a character vector of new names.
data
# All iris dataset parse_df(iris) # Keep variables names parse_df(iris[, 1:2], add_names = TRUE) # Use custom names parse_df(iris[, 1:2], add_names = c("x", "y"))
Run the code above in your browser using DataLab