stdlogres | R Documentation |
Method to compute the standardized residuals on the log scale for index- and catch-at-age residuals in the a4a stock assessment framework.
stdlogres(obs, fit, ...)
## S4 method for signature 'FLQuant,FLQuant'
stdlogres(obs, fit, ...)
obs |
an |
fit |
an |
... |
additional argument list that might never be used |
an FLQuant
with stardardized log residuals
data(ple4)
data(ple4.index)
obj <- sca(ple4, FLIndices(ple4.index))
flqs <- residuals(obj, ple4, FLIndices(idx=ple4.index))
stdlogres(catch.n(ple4), catch.n(obj))
# which is the same as the following (because residuals() uses stdlogres):
flqs$catch.n
# check:
stdlogres(catch.n(ple4),catch.n(obj)) - flqs$catch.n
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.