Implementation of model-checking techniques for generalized linear models and linear structural equation models based on cumulative residuals (Lin et al. (2002) <doi:10.1111/j.0006-341x.2002.00001.x>).