runstest-a4aFitSA-FLIndices-method.Rd
Computes Runs Test p-values
# S4 method for a4aFitSA,FLIndices
runstest(fit, obs, combine = TRUE)
The result of a model fit.
The observations used in the fit.
Should ages be combined by addition, defaults to TRUE.
Extra arguments.
A list with elements 'p.values' and 'pass'.
data(sol274)
# Call on a a4aFitSA object
runstest(fit, indices)
#> lcl ucl p.value qname pass
#> 1 -0.6023269 0.6023269 0.013 BTS FALSE
#> 2 -0.9891978 0.9891978 0.000 SNS FALSE
#
runstest(index(fit), lapply(indices, index))
#> lcl ucl p.value qname pass
#> 1 -0.6023269 0.6023269 0.013 BTS FALSE
#> 2 -0.9891978 0.9891978 0.000 SNS FALSE