Functions to Work with 'incidence2' Objects


[Up] [Top]

Documentation for package ‘i2extras’ version 0.1.2

Help Pages

add_rolling_average Add a rolling average
add_rolling_average.default Add a rolling average
add_rolling_average.incidence2 Add a rolling average
bootstrap Bootstrap incidence time series
estimate_peak Estimate the peak date of an incidence curve using bootstrap
find_peak Find the peak date of an incidence curve
fit_curve Fit an epi curve
fit_curve.default Fit an epi curve
fit_curve.incidence2 Fit an epi curve
fit_model Fit a model to an incidence object
fit_model.default Fit a model to an incidence object
fit_model.list Fit a model to an incidence object
fit_model.trending_model Fit a model to an incidence object
fit_model.trending_model_list Fit a model to an incidence object
flag_low_counts Flag low counts and set them to NAs
growth_rate Calculate growth/decay rate
growth_rate.default Calculate growth/decay rate
growth_rate.incidence2_fit Calculate growth/decay rate
incidence2_fit Fit an epi curve
is_err.incidence2_fit Error handling for incidence2_fit objects
is_error Error handling for incidence2_fit objects
is_error.default Error handling for incidence2_fit objects
is_error.incidence2_fit Error handling for incidence2_fit objects
is_ok Error handling for incidence2_fit objects
is_ok.default Error handling for incidence2_fit objects
is_ok.incidence2_fit Error handling for incidence2_fit objects
is_okerr Error handling for incidence2_fit objects
is_warning Error handling for incidence2_fit objects
is_warning.default Error handling for incidence2_fit objects
is_warning.incidence2_fit Error handling for incidence2_fit objects
NA_counts_ Generate NAs of the right type for counts
plot.incidence2_fit Plot a fitted epicurve
plot.incidence2_rolling Plot a rolling average incidence object