Computes Runs Test p-values

runstest(fit, obs, ...)

# S4 method for FLQuant,FLQuant
runstest(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

A list with runs 'p.values' and 'pass'

Examples

data(sol274) # Call on a a4aFitSA object runstest(fit, indices)
#> qname lcl ucl p.value pass #> 1: BTS -2.089593 2.089593 0.013 FALSE #> 2: SNS -2.001386 2.001386 0.000 FALSE
# runstest(index(fit), lapply(indices, index))
#> qname lcl ucl p.value pass #> 1: BTS -2.089593 2.089593 0.013 FALSE #> 2: SNS -2.001386 2.001386 0.000 FALSE