Method to plot fitted versus observed catch numbers-at-age. Note the yaxis doesn't has a scale. The visual is about the difference between the two lines, not about the value of each line, which in any case would be very difficult to assess visually.
# S4 method for class 'a4aFit,FLStock'
plot(x, y, ...)
Arguments
- x
an a4aFit
object with the fitted values
- y
an FLStock
object with the observed values
- ...
additional argument list that might never be used
Value
a plot
with fitted and observed catch numbers-at-age
Examples
data(ple4)
data(ple4.index)
obj <- sca(ple4, FLIndices(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
plot(obj, ple4)