Bayesian Hierarchical Modelling of Spatio-Temporal Health Data


[Up] [Top]

Documentation for package ‘GHRmodel’ version 0.1.0

Help Pages

as_GHRformulas Convert R-INLA Model Formulas into a GHRformulas Object
cov_add Add Covariates to All Combinations
cov_interact Generate Interaction Terms Between Covariates
cov_multi Create Covariate Combinations Across Groups
cov_nl Create Non-Linear Effects for INLA
cov_uni Build Univariable Covariate Sets
cov_varying Create Spatially or Temporally Varying Effects for INLA
crossbasis_inla Create a Two-Dimensional INLA-compatible Cross-basis Matrix
crosspred_inla Generate DLNM Predictions from 'GHRmodels' Objects
dengue_MS Dengue cases from the "Mato Grosso do Sul" state of Brazil
dengue_SP Dengue cases from the "São Paulo" state of Brazil
extract_names Extract Covariate Names
fit_models Fit Multiple INLA Models
get_covariates Retrieve Covariates from a 'GHRmodels' Object as a List of Character Vectors
lag_cov Generate lagged variables for one or more lags
map_MS Administrative Map for Municipalities in the Mato Grosso do Sul
onebasis_inla Create a One-Dimensional Basis for INLA
plot_coef_crosspred Plot 'crosspred' Objects: Overall, Slices, or Heatmap
plot_coef_lin Produce a Forest Plot of Linear Covariates from a 'GHRmodels' Object
plot_coef_nl Plot Nonlinear Effects from a 'GHRmodels' Object
plot_coef_varying Produce a Forest Plot for a Spatially or Temporally Varying Effects from a 'GHRmodels' object.
plot_fit Plot Observed vs. Fitted Cases
plot_gof Plot Models by Goodness-of-Fit
plot_ppd Plot Posterior Predictive Densities Versus Observed Data
plot_re Plot Random Effects
rank_models Rank Models by Goodness-of-Fit
sample_ppd Sample from the Posterior Predictive Distribution
stack_models Merge GHRmodels
subset_models Subset 'GHRmodels' Objects
write_inla_formulas Generate INLA-compatible Model Formulas