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 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.2.9000 Authors@R: c( person("Brandon", "Greenwell", email = "greenwell.brandon@gmail.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-8120-0084")), person("Brad", "Boehmke", email = "bradleyboehmke@gmail.com", role = c("aut"), comment = c(ORCID = "0000-0002-3611-8516")), person("Andrew", "McCarthy", email = "andrew.mccarthy@theperducogroup.com", role = c("aut")), person("Dungang", "Liu", email = "dungang.liu@uc.edu", role = c("ctb")) ) Depends: R (>= 3.1) Imports: ggplot2 (>= 2.2.1), goftest, gridExtra, stats Suggests: MASS, ordinal, rms, testthat, VGAM (>= 1.1.1), mgcv, PResiduals, knitr, rmarkdown License: GPL (>= 2) URL: https://github.com/koalaverse/sure BugReports: https://github.com/koalaverse/sure/issues Encoding: UTF-8 LazyData: true RoxygenNote: 7.0.2 VignetteBuilder: knitr Repository: https://bgreenwell.r-universe.dev Date/Publication: 2025-03-03 11:15:55 UTC RemoteUrl: https://github.com/bgreenwell/sure RemoteRef: HEAD RemoteSha: fd2b5a213211d95912de56f250904dc7f140b85d NeedsCompilation: no Packaged: 2026-06-27 10:05:15 UTC; root Author: Brandon Greenwell [aut, cre] (ORCID: ), Brad Boehmke [aut] (ORCID: ), Andrew McCarthy [aut], Dungang Liu [ctb] Maintainer: Brandon Greenwell