Count log
count(x, ..., wt = NULL, sort = FALSE, name = NULL)# S3 method for log
count(x, ...)
# S3 method for grouped_log
count(x, ...)
log
: Object of class eventlog
or activitylog
.
Additional arguments passed to dplyr
<data-masking
> Frequency weights.
Can be NULL
or a variable:
If NULL
(the default), counts the number of rows in each group.
If a variable, computes sum(wt)
for each group.
If TRUE
, will show the largest groups at the top.
The name of the new column in the output.
If omitted, it will default to n
. If there's already a column called n
,
it will use nn
. If there's a column called n
and nn
, it'll use
nnn
, and so on, adding n
s until it gets a new name.
count(log)
: Count log
count(grouped_log)
: Count grouped log