Spatio-temporal Under-five Mortality Models of Estimation in R
Version 0.3.0 contains some major updates from the previous versions. Some of the substantial change to existing functions are listed here. For a complete log of changes, see the News section.
The following functions have been renamed. Most of the function arguments remain the same:
countrySummary
is now getDirect
cuontrySummary_mult
is now getDirectList
fitspace
is now fitGeneric
projINLA
is now getSmooth
The following new functions are added:
getDiag
: produce diagnostic plots for the fitted model.getAdjusted
: produce adjusted estimates for a fitted modelgetAmat
: automatic extract spatial adjacency matrix from the polygon file.hatchPlot
: plot variables on a map with hatching indicating the width of the credible interval.fitINLA2
: implements new smoothing methods based on binomial models at cluster level.
The package is now available on CRAN. The easiest way to download is to install directly using the code below.
To download the development version of the SUMMER package, use the code below.
To see example usage of all main functions, build the package vignette. Note that the vignette will take a few minutes to compile.
# install.packages("devtools")
devtools::install_github("bryandmartin/SUMMER", build_vignettes = TRUE)
# Use this to view the vignette in the SUMMER HTML help
help(package = "SUMMER", help_type = "html")
# Use this to view the vignette as an isolated HTML file
utils::browseVignettes(package = "SUMMER")
If you encounter a bug or would like make a change request, please file it as an issue here.
devtools::check
to check the package with static vignettes, use the hidden option devtools::check(clean_doc = FALSE)
to avoid deleting the inst/doc folder.tools::compactPDF(gs_quality = "ebook", paths = "inst/doc/")
to please CRAN.