Learn R Programming

SpatialEpi (version 1.2.8)

Methods and Data for Spatial Epidemiology

Description

Methods and data for cluster detection and disease mapping.

Copy Link

Version

Install

install.packages('SpatialEpi')

Monthly Downloads

965

Version

1.2.8

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

February 22nd, 2023

Functions in SpatialEpi (1.2.8)

pennLC

Pennsylvania Lung Cancer
eBayes

Empirical Bayes Estimates of Relative Risk
leglabs

Make legend labels
kulldorff

Kulldorff Cluster Detection Method
latlong2grid

Convert Coordinates from Latitude/Longitude to Grid
estimate_lambda

Estimate lambda values
mapvariable

Plot Levels of a Variable in a Colour-Coded Map
pennLC_sf

Pennsylvania Lung Cancer
scotland

Lip Cancer in Scotland
plotmap

Plot Levels of a Variable in a Colour-Coded Map
process_MCMC_sample

Process MCMC Sample
expected

Compute Expected Numbers of Disease
grid2latlong

Convert Coordinates from Grid to Latitude/Longitude
polygon2spatial_polygon

Convert a Polygon to a Spatial Polygons Object
scotland_sf

Lip Cancer in Scotland
zones

Create set of all single zones and output geographical information
bayes_cluster

Bayesian Cluster Detection Method
besag_newell

Besag-Newell Cluster Detection Method
GammaPriorCh

Compute Parameters to Calibrate a Gamma Distribution
LogNormalPriorCh

Compute Parameters to Calibrate a Log-normal Distribution
EBpostthresh

Produce the probabilities of exceeding a threshold given a posterior gamma distribution.
create_geo_objects

Create geographical objects to be used in Bayesian Cluster Detection Method
EBpostdens

Produce plots of empirical Bayes posterior densities when the data Y are Poisson with expected number E and relative risk theta, with the latter having a gamma distribution with known values alpha and beta, which are estimated using empirical Bayes.
circle

Compute cartesian coordinates of a cluster center and radius
NYleukemia

Upstate New York Leukemia Data
NYleukemia_sf

Upstate New York Leukemia