aggre
Objectsummary
method function for aggre
objects; see
as.aggre
and aggre
.
# S3 method for aggre
summary(object, by = NULL, subset = NULL, ...)
Returns a `data.table` --- a further aggregated version of `object`.
an aggre
object
list of columns to summarize by - e.g. list(V1, V2)
where V1
and V2
are columns in the data.
a logical condition to subset results table by
before summarizing; use this to limit to a certain stratum. E.g.
subset = sex == "male"
unused
Joonas Miettinen
Other aggregation functions:
aggre()
,
as.aggre()
,
lexpand()
,
setaggre()