Skip to content

Q2q

0.1.2

Interpolating Age-Specific Mortality Rates at All Ages

0packages depend
2.4Kdownloads / year
97.4%test coverage
12/13checks pass

Overview

About
Maintained by Farid FLICIFirst published 2020-11-233 releasesCRAN page ↗GitHub ↗

Mortality rates are typically provided in an abridged format, i.e., by age groups 0, [1, 5], [5, 10]', '[10, 15]', and so on. Some applications necessitate a detailed (single) age description. Despite the large number of proposed approaches in the literature, only a few methods ensure great performance at both younger and higher ages. For example, the 6-term 'Lagrange' interpolation function is well suited to mortality interpolation at younger ages (with irregular intervals), but not at older ages. The 'Karup-King' method, on the other hand, performs well at older ages but is not suitable for younger ones. Interested readers can find a full discussion of the two stated methods in the book Shryock, Siegel, and Associates (1993).The Q2q package combines the two methods to allow for the interpolation of mortality rates across all age groups. It begins by implementing each method independently, and then the resulting curves are linked using a 5-age averaged error between the two partial curves.

Install

Health

CRAN checks
1NOTE12OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 49 s · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.16
97.4%
Coverage · measured lines
100%
Documentation · exports
0
Dependencies · direct
Check history
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 869 wordsVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

2.4K
CRAN downloads in the past year
Rank #21,382 · ~7/day · ~198/mo
Daily download trend is not available in this view yet.
10430 days
51090 days
2.4K1 year
Compare downloads with other packages →
Also on89 r2u9 autocran

Repository

Repository
0Stars
0Forks
0Open issues
0Open PRs
0Releases
License GPL-2.0 · Last activity 2024-12-19

Repository practices

Upstream repositoryBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/farid-flici/q2q on 2026-08-03.

Docs source (1)
README.Rmd
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)
Depends (1)
R >= 3.5.0
Imports (0)
none
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.2Latest
    2024-12-19 · current release · diff ↗
  • 0.1.1
    2024-11-07 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 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
  • 0.1.0
    2020-11-23
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2020-11-23
Total releases
3 / 6 yrs
License
GPL (>= 2.0)
Minimum R
≥ 3.5.0
Bundled data
4.6 KB / 1 file
Download size
228 KB
Installed size
not tracked yet
With dependencies
not tracked yet
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