as.mixstock.est.bugs {mixstock}R 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


[Package mixstock version 0.9 Index]