Man pages for seabbs/epinowcast
Flexible Hierarchical Nowcasting

add_max_observed_delayAdd maximum observed delay
add_pmfsAdd probability mass functions
aggregate_rolling_sumInternal function to perform rolling sum aggregation
as_string_formulaConverts formulas to strings
build_ord_obsBuild the ord_obs 'data.table'.
cache_location_messageCache location message for epinowcast package
check_calendar_timestepCheck calendar timestep
check_environment_unsetCheck environment setting
check_groupCheck observations for reserved grouping variables
check_group_date_uniqueCheck observations for uniqueness of grouping variables with...
check_max_delayCheck appropriateness of maximum delay
check_moduleCheck a model module contains the required components
check_modules_compatibleCheck that model modules have compatible specifications
check_numeric_timestepCheck Numeric Timestep
check_observation_indicatorCheck observation indicator
check_quantilesCheck required quantiles are present
check_renviron_for_cacheCheck '.Renviron' for cache location setting
check_timestepCheck timestep
check_timestep_by_dateCheck timestep by date
check_timestep_by_groupCheck timestep by group
coerce_dateCoerce Dates
coerce_dtCoerce 'data.table's
construct_reConstructs random effect terms
construct_rwConstructs random walk terms
convolution_matrixConstruct a convolution matrix
create_cache_dirCreate Stan cache directory
date_to_numeric_modulusConvert date column to numeric and calculate its modulus with...
enw_add_cumulativeCalculate cumulative reported cases from incidence of new...
enw_add_cumulative_membershipAdd a cumulative membership effect to a 'data.frame'
enw_add_delayAdd a delay variable to the observations
enw_add_incidenceCalculate incidence of new reports from cumulative reports
enw_add_latest_obs_to_nowcastAdd latest observations to nowcast output
enw_add_max_reportedAdd the maximum number of reported cases for each...
enw_add_metaobs_featuresAdd common metadata variables
enw_add_pooling_effectAdd a pooling effect to model design metadata
enw_aggregate_cumulativeAggregate observations over a given timestep for both report...
enw_assign_groupAssign a group to each row of a data.table
enw_complete_datesComplete missing reference and report dates
enw_construct_dataConstruct preprocessed data
enw_cumulative_to_incidenceCalculate incidence of new reports from cumulative reports
enw_delay_metadataCalculate reporting delay metadata for a given maximum delay
enw_designA helper function to construct a design matrix from a formula
enw_effects_metadataExtracts metadata from a design matrix
enw_exampleLoad a package example
enw_expectationExpectation model module
enw_extend_dateExtend a time series with additional dates
enw_filter_delayFilter observations to restrict the maximum reporting delay
enw_filter_reference_datesFilter by reference dates
enw_filter_report_datesFilter by report dates
enw_fit_optsFormat model fitting options for use with stan
enw_flag_observed_observationsFlag observed observations
enw_formulaDefine a model using a formula interface
enw_formula_as_data_listFormat formula data for use with stan
enw_get_cacheRetrieve Stan cache location
enw_impute_na_observationsImpute NA observations
enw_incidence_to_cumulativeCalculate cumulative reported cases from incidence of new...
enw_incidence_to_linelistConvert Aggregate Counts (Incidence) to a Line List
enw_latest_dataFilter observations to the latest available reported
enw_linelist_to_incidenceConvert a Line List to Aggregate Counts (Incidence)
enw_manual_formulaDefine a model manually using fixed and random effects
enw_metadataExtract metadata from raw data
enw_metadata_delayCalculate reporting delay metadata for a given maximum delay
enw_missingMissing reference data model module
enw_missing_referenceExtract reports with missing reference dates
enw_modelLoad and compile the nowcasting model
enw_nowcast_samplesExtract posterior samples for the nowcast prediction
enw_nowcast_summarySummarise the posterior nowcast prediction
enw_obsSetup observation model and data
enw_one_hot_encode_featureOne-hot encode a variable and column-bind it to the original...
enw_pathfinderFit a CmdStan model using the pathfinder algorithm
enw_plot_nowcast_quantilesPlot nowcast quantiles
enw_plot_obsGeneric quantile plot
enw_plot_pp_quantilesPlot posterior prediction quantiles
enw_plot_quantilesGeneric quantile plot
enw_plot_themePackage plot theme
enw_posteriorSummarise the posterior
enw_pp_summaryPosterior predictive summary
enw_preprocess_dataPreprocess observations
enw_priors_as_data_listConvert prior 'data.frame' to list
enw_quantiles_to_longConvert summarised quantiles from wide to long format
enw_referenceReference date logit hazard reporting model module
enw_reference_by_reportConstruct a lookup of references dates by report
enw_replace_priorsReplace default priors with user specified priors
enw_reportReport date logit hazard reporting model module
enw_reporting_triangleConstruct the reporting triangle
enw_reporting_triangle_to_longRecast the reporting triangle from wide to long format
enw_reps_with_complete_refsIdentify report dates with complete (i.e up to the maximum...
enw_sampleFit a CmdStan model using NUTS
enw_score_nowcastEvaluate nowcasts using proper scoring rules
enw_set_cacheSet caching location for Stan models
enw_simulate_missing_referenceSimulate observations with a missing reference date.
enw_stan_to_rExpose 'epinowcast' stan functions in R
enw_summarise_samplesSummarise posterior samples
enw_unset_cacheUnset Stan cache location
epinowcastNowcast using partially observed data
epinowcast-packageepinowcast: Flexible Hierarchical Nowcasting
extract_obs_metadataExtract observation metadata
extract_sparse_matrixExtract sparse matrix elements
germany_covid19_hospHospitalisations in Germany by date of report and reference
get_internal_timestepGet internal timestep
get_renviron_contentsIdentify cache location in .Renviron
is.DateCheck an object is a Date
latest_obs_as_matrixConvert latest observed data to a matrix
parse_formulaParse a formula into components
plot.epinowcastPlot method for epinowcast
reDefines random effect terms using the lme4 syntax
remove_profilingRemove profiling statements from a character vector...
remove_rw_termsRemove random walk terms from a formula object
rwAdds random walks with Gaussian steps to the model.
rw_termsFinds random walk terms in a formula object
simulate_double_censored_pmfSimulate daily double censored PMF
split_formula_to_termsSplit formula into individual terms
stan_fns_as_stringRead in a stan function file as a character string
subset_obsSubset observations data table for either modelled dates or...
summary.epinowcastSummary method for epinowcast
unset_cache_from_environRemove Cache Location Setting from '.Renviron'
update_initsUpdate initial values for model fitting
write_stan_files_no_profileWrite copies of the .stan files of a Stan model and its...
seabbs/epinowcast documentation built on Aug. 28, 2024, 12:31 p.m.