Skip to content

curves

0.4.0Package record

Model-Agnostic Response Curves for Fitted Models

0packages depend
2Kdownloads / year
69.8%test coverage
13/13flavors OK

Overview

About

Create model-agnostic response-curve diagnostics for fitted prediction models. Supports profile curves, partial dependence, individual conditional expectation, and accumulated local effects; univariate curves, bivariate surfaces, ensemble summaries across multiple models, ALE-based interaction ranking, and optional raster-linked exploration with 'terra' and 'shiny'. Static displays are returned as 'ggplot2' plots. For more details on the methods see Molnar (2025) https://christophm.github.io/interpretable-ml-book/.

Changes in 0.4.0

New features

  • Added interactions(), which ranks numeric predictor pairs by the count-weighted magnitude of their centred second-order ALE surfaces.
  • Added top_n to bivariate() for method = "ale" so the plotting interface can rank all eligible pairs with interactions() and display only the strongest interaction surfaces.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 10.8 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK8 OK2026-05-12
Advisories

none known

Documentation

In release 0.4.0
READMEYes · 534 wordsVignettesYes · 1 · evaluation depends on the environmentNEWSYes · 100% structured · mentions 0.4.0Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
6 (1 internal)includes a package overview page
Examples that run
100%5 run in a plain check (2 of them under a condition)
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
100%

Downloads

2K
CRAN downloads in the past year
Rank #10,834 · ~6/day · ~168/mo
Daily download trend is not available in this view yet.
34330 days
95290 days
2K1 year
Compare downloads with other packages →
Also on34 r2u8 autocran

Repository

4Stars
1Forks
0Open issues
0Open PRs
0Releases
38Commits
1Commit identities
partial-dependence-plotspdpresponse-curvesspatial-modellingspecies-distribution-modelling
38 commits · Last activity 2026-05-15 · 0% stars, 30d
Responsiveness
not measured

Stars over time

2025-03-22 · 22026-07-29 · 4
PracticesBeta

3 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/rvalavi/curves on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on macOS

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)

Installing curves adds 18 packages (7 with compiled code, 15 MB of source tarballs). Heaviest: ggplot2 6.0 MB, cowplot 1.6 MB, isoband 1.5 MB.

Depends (1)
R >= 3.5.0
Imports (2)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.4.0 (2026)
Releases (1)
  • 0.4.0Latest
    2026-05-11 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-05-11
Total releases
1 / 1 yrs
License
GPL-3 OSI
Minimum R
≥ 3.5.0
Download size
5.4 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("curves")
Valavi, R. (2026). curves: Model-Agnostic Response Curves for Fitted Models (Version 0.4.0) [Computer software]. https://doi.org/10.32614/CRAN.package.curves

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 curves version 0.4.0 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, 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