Skip to content

Kernelheaping

2.3.0

Kernel Density Estimation for Heaped and Rounded Data

1packages depend
3.9Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Marcus GrossFirst published 2015-01-2713 releasesCRAN page ↗

In self-reported or anonymised data the user often encounters heaped data, i.e. data which are rounded (to a possibly different degree of coarseness). While this is mostly a minor problem in parametric density estimation the bias can be very large for non-parametric methods such as kernel density estimation. This package implements a partly Bayesian algorithm treating the true unknown values as additional parameters and estimates the rounding parameters to give a corrected kernel density estimate. It supports various standard bandwidth selection methods. Varying rounding probabilities (depending on the true value) and asymmetric rounding is estimable as well: Gross, M. and Rendtel, U. (2016) (doi:10.1093/jssam/smw011). Additionally, bivariate non-parametric density estimation for rounded data, Gross, M. et al. (2016) (doi:10.1111/rssa.12179), as well as data aggregated on areas is supported.

Install

Health

CRAN checks
13OK
Slowest check: 3.4 min · r-devel-linux-x86_64-fedora-clang
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
None
Vignettes
No
README
11
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Downloads

3.9K
CRAN downloads in the past year
Rank #11,362 · ~11/day · ~324/mo
Daily download trend is not available in this view yet.
36230 days
94090 days
3.9K1 year
Compare downloads with other packages →
Also on96 r2u29 autocran

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)
Depends (4)
R >= 2.15.0MASSkssparr
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

Code Composition
R 2,139 (76%)Rd 680 (24%)
Code characteristics
Object systems
S33
Cyclomatic complexity
3.0 median / 22 max
Documented parameters
100%

Test coverage

Line coverage

Expression

Tests / Examples

Functions

32 11 exported

Complexity

6.3 avg / 22 max

Call network

32 nodes / 32 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Contributors (1)
Contributor
Release timeline

13 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
  • 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
  • 2.3.0Latest
    2022-01-26 · current release · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 2.2.8
    2021-05-11 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 2.2.2
    2020-02-21 · diff ↗
  • 2.2.1
    2019-08-02 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 2.2.0
    2018-07-31 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 2.1.8
    2017-10-10 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
Show 10 earlier events
  • R
    R 3.3.0 released · 2016-05-03
  • 1.6
    2016-04-16 · diff ↗
  • 1.5
    2016-03-21 · diff ↗
  • 1.2
    2015-12-07 · diff ↗
  • 1.0
    2015-07-31 · diff ↗
  • 0.9
    2015-06-13 · diff ↗
  • 0.5
    2015-04-27 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 0.2
    2015-01-27
  • R
    R 3.1.0 released · 2014-04-10

Package metadata

First published
2015-01-27
Total releases
13 / 11 yrs
License
GPL-2 | GPL-3 OSI
Minimum R
≥ 2.15.0
Bundled data
4.0 KB / 1 file
Download size
29 KB
Installed size
not tracked yet
With dependencies
not tracked yet