Transform output component of simulation output from run.scenarios.
Typically this replaces an entire saved model fit with a table of estimates from that fit.
transformOutput(object, extractfn, outputtype = "predicted", ...)
An object resembling the output from run.scenarios but with transformed output.
The outputtype and class of the object are changed to match `outputtype'.
output from run.scenarios
function such as the `extractfn' argument of run.scenarios
character (see Details)
other arguments passed to extractfn
Each replicate of each scenario is transformed using `extractfn', which should accept as input the object returned by the extractfn of the original call to run.scenarios. As a typical example, sims <- run.scenarios(..., fit = TRUE, extractfn = identity) returns outputs of class `secr' and could be followed by sims2 <- transformOutput(sims, predict); sims2 may be used as input to estimateSummary and other summary functions.
run.scenarios,
estimateSummary,
outputtype<-