Append data to a D3partitionR object
add_data(D3partitionR_object, data, steps, count = "value", color = "name",
label = "name", tooltip = "name", aggregate_fun = NULL)
The D3partitionR object to which the data should be appended
a data.frame object
The vector of steps to be used
The variable to be used as the count variable, typically, the number of occurences.
a variable to use as color (default: name)
a variable to use as label (default: name)
a variable to use as tooltip (default: name)
A named list of function which will be used to aggregates to variables used in color, label or tooltips. This only applies to variable in the provided dataset.
The D3partitionR object with the appended data