Plot the runs test result for one or more time series

plotRunstest(fit, obs, ...)

# S4 method for FLQuants,missing
plotRunstest(fit, combine = TRUE)

# S4 method for FLQuants,FLQuants
plotRunstest(fit, obs, combine = TRUE)

# S4 method for FLQuant,FLQuant
plotRunstest(fit, obs, combine = TRUE)

Arguments

fit

The result of a model fit.

obs

The observations used in the fit.

...

Extra arguments.

combine

Should ages be combined by addition, defaults to TRUE.

Value

An object of class ggplot2::gg

Examples

data(nsher)
plotRunstest(fitted(nsher), rec(nsher))