summary.IncPeriod: Summary method for 'IncPeriod' object

Description Usage Arguments See Also Examples

View source: R/summary.IncPeriod.R

Description

The summary method for IncPeriod object for summarizing input data.

Usage

1
2
## S3 method for class 'IncPeriod'
summary(object, figure = TRUE, plot.arg = list(), ...)

Arguments

...

for S4 method only.

object

An object of class IncPeriod returned by the IncPeriod function.

figure

A logical value drawing the figure for exposure to symptom onset timeline. Default is TRUE.

plot.arg

A list for the arguments for the plot function.

See Also

IncPeriod

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
library(IncPeriod)
data(covid19)

date.exposure <- covid19[, 1:2]
date.onset <- covid19[, 3]
date.hosp <- covid19[, 4]
X <- covid19[, 5:6]

res <- IncPeriod(date.exposure, date.onset, date.hosp, X)
summary(res)

pakdaewo/IncPeriod documentation built on Feb. 3, 2022, 12:33 a.m.