summary.aggre {popEpi}R Documentation

Summarize an aggre Object

Description

summary method function for aggre objects; see as.aggre and aggre.

Usage

## S3 method for class 'aggre'
summary(object, by = NULL, subset = NULL, ...)

Arguments

object

an aggre object

by

list of columns to summarize by - e.g. list(V1, V2) where V1 and V2 are columns in the data.

subset

a logical condition to subset results table by before summarizing; use this to limit to a certain stratum. E.g. subset = sex == "male"

...

unused

Value

Returns a 'data.table' — a further aggregated version of 'object'.

Author(s)

Joonas Miettinen

See Also

Other aggregation functions: aggre(), as.aggre(), lexpand(), setaggre()


[Package popEpi version 0.4.12 Index]