summary.aggre: Summarize an 'aggre' Object

View source: R/S3_definitions.R

summary.aggreR 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()


popEpi documentation built on Aug. 23, 2023, 5:08 p.m.