Learn R Programming

serocalculator (version 1.4.0)

print.seroincidence: Print Method for seroincidence Class

Description

print() function for seroincidence objects from est_seroincidence()

Usage

# S3 method for seroincidence
print(x, ...)

Value

an invisible copy of input parameter x

Arguments

x

A list containing output of function est_seroincidence().

...

Additional arguments affecting the summary produced.

Examples

Run this code
library(dplyr)

xs_data <-
  sees_pop_data_pk_100

curve <-
  typhoid_curves_nostrat_100 %>%
  filter(antigen_iso %in% c("HlyE_IgA", "HlyE_IgG"))

noise <-
  example_noise_params_pk

est1 <- est_seroincidence(
  pop_data = xs_data,
  sr_params = curve,
  noise_params = noise,
  antigen_isos = c("HlyE_IgG", "HlyE_IgA"),
)
print(est1)

Run the code above in your browser using DataLab