Learn R Programming

CARBayesdata (version 2.2)

CARBayesdata-package: Data Used in the Vignettes Accompanying the CARBayes and CARBayesST Packages

Description

Spatio-temporal data from Scotland used in the vignettes accompanying the CARBayes (spatial modelling) and CARBayesST (spatio-temporal modelling) packages. All data except for the Scottish lip cancer data relate to the set of 271 Intermediate Geographies (IG, but also known as Intermediate Zones (IZ)) that make up the 2001 definition of the Greater Glasgow and Clyde health board.

Arguments

Details

Package: CARBayesdata
Type: Package
Version: 2.2
Date: 2020-08-24
License: GPL (>= 2)

Examples

Run this code
# NOT RUN {
library(shapefiles)
library(sp)

## Read in the spatial data for the Greater Glasgow and Clyde Health Board
data(GGHB.IG)

## Read in the Scottish lip cancer dataframe and shapefile components
data(lipdata)
data(lipdbf)
data(lipshp)

## Read in the respiratory hospitalisation and pollution data
data(pollutionhealthdata)

## Read in the property price data
data(pricedata)

## Read in the respiratory hospitalisation data
data(respiratorydata)

## Read in the property sales data
data(salesdata)
# }

Run the code above in your browser using DataLab