Package: sure 0.2.2.9000

Brandon Greenwell

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:https://doi.org/10.1080/01621459.2017.1292915>) and Greenwell et al. (2017, <https://journal.r-project.org/archive/2018/RJ-2018-004/index.html>). 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.

Authors:Brandon Greenwell [aut, cre], Brad Boehmke [aut], Andrew McCarthy [aut], Dungang Liu [ctb]

sure_0.2.2.9000.tar.gz
sure_0.2.2.9000.zip(r-4.5)sure_0.2.2.9000.zip(r-4.4)sure_0.2.2.9000.zip(r-4.3)
sure_0.2.2.9000.tgz(r-4.5-any)sure_0.2.2.9000.tgz(r-4.4-any)sure_0.2.2.9000.tgz(r-4.3-any)
sure_0.2.2.9000.tar.gz(r-4.5-noble)sure_0.2.2.9000.tar.gz(r-4.4-noble)
sure_0.2.2.9000.tgz(r-4.4-emscripten)sure_0.2.2.9000.tgz(r-4.3-emscripten)
sure.pdf |sure.html
sure/json (API)
NEWS

# Install 'sure' in R:
install.packages('sure', repos = c('https://koalaverse.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/koalaverse/sure/issues

Datasets:
  • df1 - Simulated quadratic data
  • df2 - Simulated heteroscedastic data
  • df3 - Simulated Gumbel data
  • df4 - Simulated proportionality data
  • df5 - Simulated interaction data

On CRAN:

Conda:

categorical-datadiagnosticsordinal-regressionresiduals

5.58 score 9 stars 1 packages 47 scripts 645 downloads 1 mentions 11 exports 30 dependencies

Last updated 28 days agofrom:fd2b5a2132. Checks:1 ERROR, 8 WARNING. Indexed: yes.

TargetResultLatest binary
Doc / VignettesFAILMar 20 2025
R-4.5-winWARNINGMar 20 2025
R-4.5-macWARNINGMar 20 2025
R-4.5-linuxWARNINGMar 20 2025
R-4.4-winWARNINGMar 20 2025
R-4.4-macWARNINGMar 20 2025
R-4.4-linuxWARNINGMar 20 2025
R-4.3-winWARNINGMar 20 2025
R-4.3-macWARNINGMar 20 2025

Exports:autoplot.clmautoplot.glmautoplot.lrmautoplot.ormautoplot.polrautoplot.residautoplot.vglmgofgrid.arrangeresidssurrogate

Dependencies:clicolorspacefansifarverggplot2gluegoftestgridExtragtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalestibbleutf8vctrsviridisLitewithr