Skip to contents

Incidence2 objects

incidence()
Compute the incidence of events
print(<incidence2>)
Print an incidence object.
summary(<incidence2>)
Summary of an incidence object
as_incidence()
Coerce to an incidence object

Manipulation

as.data.frame(<incidence2>)
Convert incident object to a data frame
cumulate()
Compute cumulative 'incidence'
complete_dates()
Complete dates for all group combinations
keep_first() keep_last() keep_peaks()
Keep first, last and peak occurences
regroup()
Regroup 'incidence' objects

Accessors

Plotting

plot(<incidence2>)
Plot an incidence object
vibrant() muted()
Color palettes used in incidence

Data

covidregionaldataUK
Regional data for COVID-19 cases in the UK