create.mark.mcmc: Create mcmc object for analysis with coda

View source: R/create.mark.mcmc.R

create.mark.mcmcR Documentation

Create mcmc object for analysis with coda

Description

Reads in mcmc file from program MARK in binary and returns an mcmc object that can be used with coda functions which are most easily accessed via codamenu().

Usage

create.mark.mcmc(
  filename,
  ncovs,
  nmeans,
  ndesigns,
  nsigmas,
  nrhos,
  nlogit,
  include = F
)

Arguments

filename

name of file containing mcmc values

ncovs

number of covariates

nmeans

number of means

ndesigns

number of designs

nsigmas

number of sigmas

nrhos

number of rhos

nlogit

number of logits

include

if TRUE it includes ir/propJumps fields

Value

An mcmc object if one chain and an mcmc list if more than one chain. Each can be used with the coda package

Author(s)

Jeff Laake


RMark documentation built on Aug. 14, 2022, 1:05 a.m.