Learn R Programming

RMark (version 2.1.1)

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)

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