Learn R Programming

popEpi (version 0.4.12)

print.aggre: Print an aggre Object

Description

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

Usage

# S3 method for aggre
print(x, subset = NULL, ...)

Value

Always returns `NULL` invisibly. This function is called for its side effects.

Arguments

x

an aggre object

subset

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

...

arguments passed to print.data.table; try e.g. top = 2 for numbers of rows in head and tail printed if the table is large, nrow = 100 for number of rows to print, etc.

Author

Joonas Miettinen