Learn R Programming

hierarchicalDS (version 3.0)

convert.HDS.to.mcmc: function to convert HierarchicalDS MCMC list vector (used in estimation) into an mcmc object (cf. coda package)

Description

function to convert HierarchicalDS MCMC list vector (used in estimation) into an mcmc object (cf. coda package)

Usage

convert.HDS.to.mcmc(MCMC, N.hab.pois.par, N.hab.bern.par, n.ind.cov,
  n.cov.cols, Hab.pois.names, Hab.bern.names, Det.names, Cov.names,
  MisID.names, N.par.misID = NULL, misID.mat = NULL,
  fix.tau.nu = FALSE, misID = TRUE, spat.ind = TRUE,
  point.ind = TRUE)

Arguments

MCMC

list vector providing MCMC samples for each parameter type

N.hab.pois.par

see help for mcmc_ds.R

N.hab.bern.par

see help for mcmc_ds.R

n.ind.cov

see help for mcmc_ds.R

n.cov.cols

number of columns in Cov.prior.parms matrix

Hab.pois.names

see help for mcmc_ds.R

Hab.bern.names

see help for mcmc_ds.R

Det.names

see help for mcmc_ds.R

Cov.names

see help for mcmc_ds.R

MisID.names

see help for mcmc_ds.R

N.par.misID

see help for mcmc_ds.R

misID.mat

see help for mcmc_ds.R

fix.tau.nu

see help for mcmc_ds.R

misID

see help for mcmc_ds.R

spat.ind

see help for mcmc_ds.R

point.ind

see help for mcmc_ds.R