Man pages for ern
Effective Reproduction Number Estimation

agg_to_dailyInfer daily counts from aggregates
attach_startdate_aggAttach start date from first observation for aggregated data...
attach_tAttach internal time index column
attach_t_aggAttach time index (number of days) column. Exclude first day...
check_cl.input_formatCheck the format of input clinical data
check_df.input_dailyCheck if input data is already daily
check_distCheck distributions
check_for_deconvCheck that deconvolution inputs are compatible
check_prm.dailyCheck parameters for daily data inference
check_prm.daily.checkCheck parameters for daily data inference check
check_prm.RCheck parameters for Rt calculation
check_prm.smoothCheck parameters for smoothing
cl.dataSample of aggregated clinical reports
correct_underreportingCorrect underreporting by scaling up
deconvWrapper for deconvolution with a given distribution
deconvolution_RLRichardson-Lucy Deconvolution.
deconv_ww_incDeconvoluting Wastewater Data to Incidence
def_distDefine a family of distributions.
draw_from_gammaDraw from gamma for a parameter specified in a distribution...
estimate_R_clEstimate the effective reproduction from clinical report data
estimate_R_cl_repEnsemble estimate of Rt
estimate_R_cl_singleA single realization of the Rt estimate
estimate_R_wwEstimate the effective reproduction from wastewater...
extract_mcmc_valuesExtract MCMC chains from a JAGS object
fit_jags_aggregFit JAGS model to aggregated data
get_discrete_distGet a discretized, truncated version of a distribution
get_realizationsRetrieve realizations for aggregated to daily inference
get_use_datesGet dates for which to use (trust) inferred daily reports
inc2R_one_iterHelper function. Converts wastewater to Rt after sampling one...
incidence_to_REstimate Rt using EpiEstim
linear_int_dailyDaily incidence from linear interpolation
na_to_0Replace NAs with 0s in vector
plot_diagnostic_clDiagnostic plot for R estimation from clinical report data
plot_diagnostic_wwDiagnostic plot for R estimation from wastewater data
plot_distPlot a distribution
plot_gelman_rubinPlot the Gelman Rubin statistic for all parameters.
plot_tracesPlot MCMC traces
reports_to_incidenceInfer incidence from reports via a series of deconvolutions
reshape_fit_jagsReshape JAGS fit object
sample_a_distSample parameters for a single distribution from a family of...
sample_from_distSample from a distribution (currently only implemented for a...
sample_post_eeHelper function - sample from EpiEstim's R posterior...
smooth_clSmooth realizations from estimating daily reports
smooth_wwSmooth wastewater data (using pre-processed wastewater)
summarise_by_date_itersSummarise observations by date for raw iterations from an...
summarise_report_countsSummarise daily inferred reports based on original reporting...
summary_postsamplesHelper function that summarises posterior samples of Rt from...
ww.dataSample of wastewater concentration
ern documentation built on April 4, 2025, 2:13 a.m.