Package: sure Type: Package Title: Surrogate Residuals for Ordinal and General Regression Models Description: An implementation of the surrogate approach to residuals and diagnostics for ordinal and general regression models; for details, see Liu and Zhang (2017, ) and Greenwell et al. (2017, ). 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 'plot' methods for producing standard diagnostic plots using lightweight base R graphics (via 'tinyplot'). 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.3.0 Authors@R: c( person("Brandon", "Greenwell", email = "greenwell.brandon@gmail.com", role = c("aut", "cre")), person("Andrew", "McCarthy", email = "mccarthyan@gmail.com", role = c("aut")), person("Boehmke", "Bradley", email = "bradleyboehmke@gmail.com", role = c("aut")), person("Liz", "Glaser", email = "liz.glaser@gmail.com", role = c("ctb")) ) Depends: R (>= 4.0.0) Imports: stats Suggests: goftest, knitr, MASS, ordinal, PResiduals, rmarkdown, rms, tinyplot, tinytest, VGAM License: GPL (>= 2) URL: https://github.com/bgreenwell/sure, https://bgreenwell.github.io/sure/, https://bgreenwell.r-universe.dev/sure BugReports: https://github.com/bgreenwell/sure/issues Encoding: UTF-8 RoxygenNote: 7.3.3 Roxygen: list(markdown = TRUE) VignetteBuilder: knitr Repository: https://bgreenwell.r-universe.dev Date/Publication: 2026-07-07 02:46:58 UTC RemoteUrl: https://github.com/bgreenwell/sure RemoteRef: main RemoteSha: 7a6a9f9050fee1d09ecb05706a3567d80dd8a118 NeedsCompilation: no Packaged: 2026-07-07 04:53:41 UTC; root Author: Brandon Greenwell [aut, cre], Andrew McCarthy [aut], Boehmke Bradley [aut], Liz Glaser [ctb] Maintainer: Brandon Greenwell