as.mixstock.est.bugs: Convert BUGS or CODA objects to mixstock estimate object

View source: R/mixstock.R

as.mixstock.est.bugsR Documentation

Convert BUGS or CODA objects to mixstock estimate object

Description

Converts output of a R2WinBUGS run, in bugs format or CODA (mcmc or mcmc.list) format, to a mixed-stock estimate object

Usage

as.mixstock.est.bugs(object,data=NULL,time)

Arguments

object

results of a BUGS run (from pm.wbugs etc.)

data

a mixstock.data object for filling in source and mixture names, etc.

time

time taken to run WinBUGS, in seconds

Value

an object of type mixstock.est

Note

as.mixstock.est.mcmc is a stub; for now, you can convert R2WinBUGS output to CODA or mixstock, but you can't do any other conversions

Author(s)

Ben Bolker


bbolker/mixstock documentation built on July 23, 2024, 12:18 p.m.