Count observations by group
Usage
count(x, ..., wt = NULL, sort = FALSE, name = NULL)
tally(x, wt = NULL, sort = FALSE, name = NULL)Arguments
- x
A
vectra_nodeobject.- ...
Grouping columns, resolved as in
group_by().- wt
Column to weight by (unquoted). If
NULL, counts rows.- sort
If
TRUE, sort output in descending order ofn.- name
Name of the count column (default
"n").