predictVal: Generate model predictions based on the posterior

Description Usage Arguments Value Examples

View source: R/predictVal.R

Description

Generate model predictions based on the posterior

Usage

1
predictVal(runObj, predType = "smoltAtTrap", at = NULL)

Arguments

runObj

an object created by runJAGSmodel

predType

the value to be predicted

at

the x locations at which predictions should be made

Value

a 3 dimensional array (sims, population, at value)

Examples

1
predictVal(m7,"smoltAtDat",seq(0,10000,by=100))

MartinLiermann/coastalCohoSS documentation built on April 12, 2021, 2:11 a.m.