gibbs_chain: Runs a gibbs sampler chain for capture recapture data

Description Usage Arguments Value

Description

Runs a gibbs chain for capture recapture data

Usage

1
2
gibbs_chain(dataList, seed, N = 10000, atune = 0.25, btune = 1,
  parnames = NULL)

Arguments

dataList

list containing a locList for each location

seed

a seed

N

number of iterations for the gibbs sampler, default is 10,000

atune

Tuning parameter for the Metropolis-Hastings update of beta hyperparameters. Default is 0.25.

btune

Tuning parameter for Metropolis-Hastings update of beta hyperparamters. Defaults is 1.

parnames

Vector containing all the parameter names, must coincide with the parameters in dataList

Value

a numeric matrix


andrewpita/gibbsRecapR documentation built on June 12, 2019, 12:34 a.m.