Skip to content

threshr

1.0.8Package record

Threshold Selection and Uncertainty for Extreme Value Analysis

1packages depend
4.8Kdownloads / year
76.4%test coverage
13/13flavors OK

Overview

About

Provides functions for the selection of thresholds for use in extreme value models, based mainly on the methodology in Northrop, Attalides and Jonathan (2017) doi:10.1111/rssc.12159. It also performs predictive inferences about future extreme values, based either on a single threshold or on a weighted average of inferences from multiple thresholds, using the 'revdbayes' package https://cran.r-project.org/package=revdbayes. At the moment only the case where the data can be treated as independent identically distributed observations is considered.

Changes in 1.0.8

Bug fixes and minor improvements

  • In stability() and in the internal function gp_mle(), any missing (NA) values are removed before fitting GP models. Thank you to Tatsuki Yamane for spotting this problem.

From NEWS.md in the release

Install

Health

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

none known

Documentation

In release 1.0.8
READMEYes · 278 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 1.0.8Citation fileNoWebsiteYes · pkgdown
Help pages
12 (1 internal)includes a package overview page
Examples that run
100%7 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
50%

Downloads

4.8K
CRAN downloads in the past year
Rank #7,004 · ~13/day · ~397/mo
Daily download trend is not available in this view yet.
49630 days
1.2K90 days
4.8K1 year
Compare downloads with other packages →
Also on118 r2u8 autocran108 c2d4u

Repository

8Stars
2Forks
0Open issues
0Open PRs
9Releases
456Commits
2Commit identities
thresholdextremesuncertaintyinferencethreshold-selectionpredictionplotextreme-value-statistics
License file reads as GPL-3.0 · 456 commits · Last activity 2026-03-24 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
50%
Median days to close, 50 most recently updated closed issues
804
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-05-11 · 72026-07-07 · 8
PracticesBeta

8 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/paulnorthrop/threshr on 2026-10-22.

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 (3)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-03-24

Coverage (1)
Coverage reporting
CRAN release process (1)
cran-comments.md
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing threshr adds 50 packages (29 with compiled code, 43 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, bayesplot 5.0 MB.

Depends (1)
R >= 3.3.0
Imports (5)
graphicsmethodsrevdbayesruststats
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Depends, Imports or LinkingTo, most downloaded first

Datasets

People & History

People (2)
Author, Maintainer since 1.0.0 (2017), Copyright holder
Listed in earlier versions (1)
Paul J.
no longer listed · 1.0.0 to 1.0.8
Releases (9)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.8Latest
    record
    2026-03-24 · current release · diff ↗
  • 1.0.7
    record
    2025-10-08 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.0.6
    record
    2024-07-17 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.5
    record
    2023-12-02 · diff ↗
  • 1.0.4
    record
    2023-09-02 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 1.0.3
    record
    2020-09-14 · diff ↗
  • 1.0.2
    record
    2020-09-05 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 1.0.1
    record
    2019-03-01 · diff ↗
Show 3 earlier eventsHide 3 earlier events
  • R
    R 3.5.0 released · 2018-04-23
  • 1.0.0
    record
    2017-09-04
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2017-09-04
Total releases
9 / 9 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.3.0
Bundled data
3.7 KB / 2 files
Download size
109 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("threshr")
Northrop, P. J., & Attalides, N. (2026). threshr: Threshold Selection and Uncertainty for Extreme Value Analysis (Version 1.0.8) [Computer software]. https://doi.org/10.32614/CRAN.package.threshr

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 threshr version 1.0.8 [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