spmm: SPMM

Description Usage Arguments

View source: R/spmm.R

Description

spmm is the main function to run a spatial Poisson mixture model

Usage

1
2
spmm(data = NULL, inits = NULL, n_iter = NULL, n_burnin = NULL,
  n_chains = 3, constant_B = FALSE)

Arguments

data

The actual data

n_iter

How many iterations to sample?

n_burnin

How many iterations to burn in chain?

n_chains

How many chains to run per parameter?

C

The number of diseases to model

R

The number of spatial regions

D

R x R neighbourhood matrix with entries D_jj, j = 1...R, i.e. the count of neighbours for region j

W

R x R adjacency matrix

m

Number of covariates


BrandonEdwards/spmm documentation built on April 15, 2020, 11:40 p.m.