Man pages for SC-COSMO/sccosmomcma
Stanford-CIDE COronavirus Simulation MOdel (SC-COSMO) for Mexico City Metropolitan Area Analysis

acor2covCovariance matrix from autocorrelation coefficients and...
add_interventionBuilding list of interventions to be simulated in the...
add_list_periodsHelper function add lists of periods into single containing...
add_periodHelper function add periods together into a list containing...
aggregate_pop_agesAggregate population ages into age groups of interest
calc_basic_reproduction_number_krCalculate basic reproduction number according to Keeling &...
calc_deathsdx_totalsTotal Covid-19 deaths from diagnosed infections
calc_deaths_totalsTotal Covid-19 deaths
calc_dxcum_totalsTotal cumulative diagnosed infections (E and I)
calc_dx_hospTotal Prevalent DX hospitalizations
calc_dx_hosp_icuTotal Prevalent DX ICU hospitalizations
calc_dx_hosp_nonicuTotal Prevalent DX Non-ICU hospitalizations
calc_dx_inchospTotal Incident DX hospitalizations
calc_dx_inchosp_icuTotal Incident DX ICU hospitalizations
calc_dx_inchosp_nonicuTotal Incident DX Non-ICU hospitalizations
calc_dxinc_totalsTotal incident diagnosed infections (E and I)
calc_dx_totalsTotal diagnosed infections (E and I)
calc_expinf_totalsTotal infections (E and I)
calc_idxcum_totalsTotal cumulative diagnosed infectious infections
calc_idxinc_totalsTotal incident diagnosed infectious infections
calc_idx_totalsTotal diagnosed infections
calc_incdeathsdx_totalsTotal Incident Covid-19 deaths from diagnosed infections
calc_infcum_totalsTotal cumulative infections
calc_infinc_totalsTotal incident infections
calc_inf_totalsTotal infections
calc_popsize_totalsTotal population
calc_rec_totalsTotal Recovered
calc_reproduction_number_wtEstimate the time dependent reproduction number according to...
calc_sx_totalsTotal symptomatic infections (E and I)
calibration_outGenerate model outputs for calibration from a parameter set
compute_inflowsCompute inflows considering competing risks using convolution...
cosmoThe Stanford-CIDE COronavirus Simulation MOdel (SC-COSMO)
cosmo_dXdtDerivatives of the Stanford-CIDE COronavirus Simulation MOdel...
cosmo_dXdt_compCompiled Stanford-CIDE COronavirus Simulation MOdel...
gen_all_betasEfficiency by precomputing beta component of force of...
gen_all_intervention_effectsEfficiency by precomputing intervention effects at each time...
gen_all_waifwsEfficiency by precomputing WAIFW matrices at each time step...
general_logitGeneralized logistic function
gen_hh_nGenerate household possibilities
gen_hosp_targetsGenerate hospitalization targets.
gen_household_matrices_mc_seirGenerate household matrices
gen_household_transmission_mc_seirGenerate household transmission
gen_targetsGenerate calibration targets
gen_time_varyingHelper function for creating time-varying vector of values
get_betasComputing force of infection at each time step for the...
get_boundsGet bounds for parameters to calibrate
get_case_detectionCase detection parameters
get_cfrProportion (age-specific) of detected cases that die
get_const_multiage_listHelper convenience function that defines age-specific lists...
get_contact_matrices_worldGet contact matrices
get_contact_matrixGet contact matrix main function
get_countrycodeGet a three letter code for a country's name
get_cum_mort_riskGenerate cumulative mortality risk
get_densitiesGet population density
get_densities_mxGet population density for Mexico subnational regions
get_fipscodes_mxGet FIPS codes for Mexican states
get_gamma_paramsGet parameters for gamma distribution
get_hosp_boundsGet bounds for hospitalization parameters to calibrate
get_idx_scale_factorGet reduction factor on transmission from detected infectious...
get_ifrGet the fraction of undetected cases that die
get_intervention_effectsGets correct intervention effect multipliers for the...
get_lifetablesGet lifetables
get_lifetables_mxGet lifetables for MX states
get_MCMA_prop_hospGenerate hospitalization proportions.
get_non_const_multiage_listHelper convenience function that defines age-specific lists...
get_osGet operating system
get_parametersGet time-varying parameters for the Stanford-CIDE COronavirus...
get_population_agesGet population and age structure
get_population_ages_mxGet population and age structure for MX subnational regions
get_population_birthGet crude birth rates
get_population_birth_mxGet crude birth rates for MX states
get_projection_scenariosGenerates interventions input list for performing projections...
get_prop_hospGet proportion of cases that go into hospitalization over...
get_screen_detectionGet screen detection parameters for the Stanford-CIDE...
get_waifwGets correct mixing matrices for the Stanford-CIDE...
hosp_acor2covCovariance matrix from autocorrelation coefficients and...
hosp_calibration_outGenerate model outputs for calibration from a hospitalization...
hosp_likelihoodLikelihood
hosp_log_likLog-likelihood function for a hospitalization parameter set
hosp_log_lik_optLog-likelihood function for a hospitalization parameter set
hosp_log_lik_parParallel evaluation of log-likelihood function for a sets of...
hosp_log_postEvaluate log-posterior of calibrated hospitalization...
hosp_log_post_optEvaluate log-posterior of calibrated hospitalization...
hosp_log_priorEvaluate log-prior of calibrated hospitalization parameters
hosp_log_prior_optEvaluate log-prior of calibrated hospitalization parameters...
hosp_posteriorEvaluate posterior of calibrated hospitalization parameters
hosp_priorEvaluate prior of calibrated hospitalization parameters
hosp_sample_priorSample from prior distributions of calibrated parameters
likelihoodLikelihood
load_all_paramsLoad all parameters
load_params_initBase-case initial parameter set
log_likLog-likelihood function for a parameter set
log_lik_optLog-likelihood function for a parameter set
log_lik_parParallel evaluation of log-likelihood function for a sets of...
log_postEvaluate log-posterior of calibrated parameters
log_post_optEvaluate log-posterior of calibrated parameters for...
log_priorEvaluate log-prior of calibrated parameters
log_prior_optEvaluate log-prior of calibrated parameters for OPTIMIZATION...
make_interventionConstructing intervention descriptions for each intervention...
make_periodHelper function to define a time chunk for a time varying...
m_general_logitGeneralized logistic function (matrix version)
number_ticksNumber of ticks for 'ggplot2' plots
obtain_init_popObtain initial population
obtain_setting_dataObtain initial population
plot_cosmo_dataPlot COSMO data
plot_deathsdx_totalsPlot total Covid-19 deaths
plot_deaths_totalsPlot total Covid-19 deaths
plot_dxcum_totalsPlot total cumulative diagnosed infections (E and I)
plot_dxinc_totalsPlot total incident diagnosed cases (E and I)
plot_dx_totalsPlot total diagnosed infections (E and I)
plot_expinf_totalsPlot total infections (E and I)
plot_hosp_propPlot proportion of incident detected cases hospitalized
plot_hosp_targetsPlot hospitalization targets
plot_idxcum_totalsPlot total cumulative diagnosed infectious infections
plot_idxinc_totalsPlot total incident diagnosed infectious infections
plot_idx_totalsPlot total diagnosed infections
plot_incdeathsdx_totalsPlot total incident Covid-19 deaths from diagnosed infections
plot_infcum_totalsPlot total cumulative infections
plot_infinc_totalsPlot total incident infections
plot_inf_totalsPlot total infections
plot_model_out_vs_targetsPlot Targets
plot_mort_riskPlot expected cumulative mortality risk
plot_popsize_totalsPlot total population
plot_rec_totalsPlot total recovered
plot_sx_totalsPlot total symptomatic infections
plot_targetsPlot Targets
posteriorEvaluate posterior of calibrated parameters
prep_dx_hosp_calibProduce hospitalization occupation over time
prep_dx_hospitalizationsProduce hospitalization occupation over time
priorEvaluate prior of calibrated parameters
project_epi_outCalculate epidemiological outcomes projections from SC-COSMO
project_interventions_probabilisticProbabilistic projections of interventions
sample.priorSample from prior distributions of calibrated parameters
sccosmo'sccosmo' package
summarise_dataSummarize posterior output
update_param_listUpdate parameters
validate_outGenerate outputs for validation
wrangle_contact_matrixGet wrangle contact matrix
SC-COSMO/sccosmomcma documentation built on Dec. 18, 2021, 11:56 a.m.