Skip to contents

Add JoinAggregateTransform to a vega-lite spec.

Usage

vl_joinaggregate(spec, joinaggregate = NULL, groupby = NULL, .object = NULL)

Arguments

spec

An input vega-lite spec

joinaggregate

The definition of the fields in the join aggregate, and what calculations to use.

groupby

The data fields for partitioning the data objects into separate groups. If unspecified, all data points will be in a single group.

.object

Directly input an object, rather than creating one via the other arguments. Should not be used in conjunction with the other arguments other than spec. Objects can be of type: JoinAggregateTransform

Value

A modified Vega-Lite Spec