Interactive aggregation operations

vg_sum(x)

vg_min(x)

vg_max(x)

vg_mean(x)

vg_median(x)

vg_count(x)

vg_distinct(x)

vg_argmin(x, y)

vg_argmax(x, y)

Arguments

x

A data variable, used in conjunction with enc() or dplyr verbs. vg_count() can accept an empty input.

y

A data variable that maxmises/minimises x in vg_argmin() and vg_argmax().