This function uses randtests::runs.test to do perform a runs test on residuals to determine if they are randomly distributed. It also calculates the 3 x sigma limits
Arguments
- x
residuals from CPUE fits
- type
only
c("resid","observations")
- mixing
c("less","greater","two.sided")
. Default less is checking for positive autocorrelation only
Details
runs test is conducted with library(randtests)