Skip to content

staccuracy

0.2.2Package record

Standardized Accuracy and Other Model Performance Metrics

2packages depend
3.4Kdownloads / year
73.4%test coverage
13/13flavors OK

Overview

About

Standardized accuracy (staccuracy) is a framework for expressing accuracy scores such that 50% represents a reference level of performance and 100% is a perfect prediction. The 'staccuracy' package provides tools for creating staccuracy functions as well as some recommended staccuracy measures. It also provides functions for some classic performance metrics such as mean absolute error (MAE), root mean squared error (RMSE), and area under the receiver operating characteristic curve (AUCROC), as well as their winsorized versions when applicable.

Changes in 0.2.2
  • Add reg_aucroc() function to calculate AUC for regression models.
  • Corrected bug in p-value calculation.
  • Rewrote sa_diff() output to separate staccuracies from their differences.

l- Use the (r+1)/(n+1) p-value calculation from North et al. (2003).

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.3 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-08
  • NOTE12 OK, 1 NOTE2026-06-07
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.2.2
READMEYes · 161 wordsVignettesNoNEWSYes · 100% structured · mentions 0.2.2Citation fileNoWebsiteYes · pkgdown
Help pages
7 (1 internal)includes a package overview page
Examples that run
100%6 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

3.4K
CRAN downloads in the past year
Rank #12,088 · ~9/day · ~285/mo
Daily download trend is not available in this view yet.
35230 days
91690 days
3.4K1 year
Compare downloads with other packages →
Also on72 r2u2 autocran

Repository

1Stars
0Forks
0Open issues
0Open PRs
0Releases
31Commits
1Commit identities
31 commits · Last activity 2025-02-23 · 0% stars, 30d
Responsiveness
not measured

Stars over time

2024-09-29 · 12026-07-07 · 1
PracticesBeta

9 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/tripartio/staccuracy on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2025-02-23 · The repository has a site deploy workflow

pkgdown site last built 2025-02-23

CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

Installing staccuracy adds 20 packages (12 with compiled code, 18 MB of source tarballs). Heaviest: stringi 11 MB, vctrs 1.0 MB, dplyr 902 KB.

Depends (1)
R >= 4.2.0
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
2direct
0indirect
Imports 2
Depends, Imports or LinkingTo, most downloaded first

People & History

People (1)
Author, Maintainer since 0.1.0 (2024)
Releases (3)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.2.2Latest
    record
    2025-02-23 · current release · diff ↗ ·
    added 1 export
    reg_aucroc
  • 0.2.0
    record
    2024-11-06 · diff ↗ ·
    removed 1 export
    standardized_accuracy
    added 2 exports
    sa_diff, staccuracy
  • 0.1.0
    record
    2024-10-03
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-10-03
Total releases
3 / 2 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.2.0
Download size
24 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("staccuracy")
Okoli, C. (2025). staccuracy: Standardized Accuracy and Other Model Performance Metrics (Version 0.2.2) [Computer software]. https://doi.org/10.32614/CRAN.package.staccuracy

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for staccuracy version 0.2.2 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy