carmc: Conditional Autoregressive Space-time MCMC

Description Usage Arguments Details Value Author(s)

View source: R/carmc.R

Description

Space-time Conditional Autoregressive MCMC

Usage

1
2
carmc(cases, space_time, linear_model, neighbours, mc_control,
  mcmc = mcmc.defaults(), note = NA, progress)

Arguments

cases

data frame of case data

space_time

formula of location_id~date

linear_model

formula of caseflag~covariates

neighbours

neighbourhood structure

mc_control

control mcmc loops, thinning, burn-in

mcmc

priors, proposals, etc

note

a text note to add to the document

progress

passed to txtProgressBar to create a progress bar

Details

Fit the space-time conditional AR model via MCMC

Value

an object of class "carmc"

Author(s)

Emanuele Giorgi, Barry Rowlingson, Alison Hale


barryrowlingson/caramellar documentation built on May 29, 2019, 4:50 p.m.