Data availability statement
The SWTools package is available from the Comprehensive R Archive Network. The Source code and code to produce the analyses in this manuscript are available at https://github.com/matt-s-gibbs/swtools and https://github.com/matt-s-gibbs/Rainfall-homogeneity-example., respectively.