The a4aFitCatchDiagn
class extends FLQuants
to store information to run diagnostics on aggregated catch estimated by the a4a stock assessment fit.
computeCatchDiagnostics(object, ...)
Arguments
- object
object of relevant class (see signature of method)
- ...
additional argument list that might never be used
- stock
FLStock
object used to fit the model
- indices
FLIndices
object used to fit the model
Examples
data(ple4)
data(ple4.index)
fit <- sca(ple4, ple4.index)
#> Warning: *** ~te(age, year, k = c(6, 30), bs = "tp") + s(age, k = 6) has 4 too many parameter(s)!!
#> i will remove the redundant ones:
#> s(age).2
#> s(age).3
#> s(age).4
#> s(age).5
flqs <- computeCatchDiagnostics(fit, ple4)