summary.pop_data: Summarize cross-sectional antibody survey data

View source: R/summary.pop_data.R

summary.pop_dataR Documentation

Summarize cross-sectional antibody survey data

Description

summary() method for pop_data objects

Usage

## S3 method for class 'pop_data'
summary(object, strata = NULL, ...)

## S3 method for class 'summary.pop_data'
print(x, ...)

Arguments

object

a pop_data object (from as_pop_data())

strata

a character() specifying grouping column(s)

...

unused

x

an object of class "summary.pop_data"; usually, the result of a call to summary.pop_data()

Value

a summary.pop_data object, which is a list containing two summary tables:

  • age_summary summarizing age

  • ab_summary summarizing value, stratified by antigen_iso

Examples

library(dplyr)

xs_data <-
  sees_pop_data_pk_100
summary(xs_data, strata = "catchment")


serocalculator documentation built on April 3, 2025, 7:35 p.m.