ec.data {echarty}R Documentation

Data helper

Description

Make ECharts data from a data.frame

Usage

ec.data(df, format = "dataset", header = TRUE)

Arguments

df

Chart data in data.frame format, required.

format

A key on how to format the output list

header

Whether the data will have a header with column names or not, default TRUE. Set this to FALSE when used in series.data.

Value

A list for dataset.source, series.data or a list of named lists.


[Package echarty version 0.2.0 Index]