sure: Surrogate Residuals for Ordinal and General Regression Models

An implementation of the surrogate approach to residuals and diagnostics for ordinal and general regression models; for details, see Liu and Zhang (2017) <doi:10.1080/01621459.2017.1292915>. These residuals can be used to construct standard residual plots for model diagnostics (e.g., residual-vs-fitted value plots, residual-vs-covariate plots, Q-Q plots, etc.). The package also provides an 'autoplot' function for producing standard diagnostic plots using 'ggplot2' graphics. The package currently supports cumulative link models from packages 'MASS', 'ordinal', 'rms', and 'VGAM'. Support for binary regression models using the standard 'glm' function is also available.

Version: 0.2.0
Depends: R (≥ 3.1)
Imports: ggplot2 (≥ 2.2.1), goftest, gridExtra, stats
Suggests: MASS, ordinal, rms, testthat, VGAM
Published: 2017-09-19
Author: Brandon Greenwell [aut, cre], Andrew McCarthy [aut], Brad Boehmke [aut], Dungang Liu [ctb]
Maintainer: Brandon Greenwell <greenwell.brandon at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
Materials: README NEWS
CRAN checks: sure results


Reference manual: sure.pdf
Package source: sure_0.2.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X El Capitan binaries: r-release: sure_0.2.0.tgz
OS X Mavericks binaries: r-oldrel: sure_0.2.0.tgz
Old sources: sure archive


Please use the canonical form to link to this page.