print.incidence2 | R Documentation |
Printing of <incidence2>
objects is handled via the pillar package.
## S3 method for class 'incidence2'
print(x, ...)
x |
|
... |
Additional arguments passed through to |
if (requireNamespace("outbreaks", quietly = TRUE)) {
data(ebola_sim_clean, package = "outbreaks")
dat <- ebola_sim_clean$linelist
(out <- incidence(dat, "date_of_onset"))
# use `n` to print more lines
print(out, n = 20L)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.