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 (2018) and Greenwell et al. (2018) . 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', binary and other generalized linear models fit with 'glm', and multinomial models or general classifiers via a matrix of predicted class probabilities. Version: 0.3.1 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("Bradley", "Boehmke", 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-10-27 12:04:23 UTC RemoteUrl: https://github.com/bgreenwell/sure RemoteRef: main RemoteSha: 008d45e2e15526dcfdbaaa4479b089ff80f18962 NeedsCompilation: no Packaged: 2026-10-27 15:28:32 UTC; root Author: Brandon Greenwell [aut, cre], Andrew McCarthy [aut], Bradley Boehmke [aut], Liz Glaser [ctb] Maintainer: Brandon Greenwell