Learn R Programming

popEpi (version 0.4.3)

summary.aggre: Summarize an aggre Object

Description

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

Usage

# S3 method for 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

See Also

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