Learn R Programming

RMark (version 3.0.0)

create.mark.mcmc: 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
)

Value

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

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

Author

Jeff Laake