Skip to content

kdensity

1.2.0

Kernel Density Estimation with Parametric Starts and Asymmetric Kernels

3packages depend
11.2Kdownloads / year
99.1%test coverage
11/13checks pass

Overview

About
Maintained by Jonas MossFirst published 2018-02-275 releasesCRAN page ↗GitHub ↗

Handles univariate non-parametric density estimation with parametric starts and asymmetric kernels in a simple and flexible way. Kernel density estimation with parametric starts involves fitting a parametric density to the data before making a correction with kernel density estimation, see Hjort & Glad (1995) doi:10.1214/aos/1176324627. Asymmetric kernels make kernel density estimation more efficient on bounded intervals such as (0, 1) and the positive half-line. Supported asymmetric kernels are the gamma kernel of Chen (2000) doi:10.1023/A:1004165218295, the beta kernel of Chen (1999) doi:10.1016/S0167-9473(99)00010-9, and the copula kernel of Jones & Henderson (2007) doi:10.1093/biomet/asm068. User-supplied kernels, parametric starts, and bandwidths are supported.

Install

Health

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 2.1 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.19
99.1%
Coverage · measured lines
100%
Documentation · exports
1
Dependencies · direct
Check history
  • NOTE2026-07-11
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-06-08
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 953 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
20%

Downloads

11.2K
CRAN downloads in the past year
Rank #6,240 · ~31/day · ~937/mo
Daily download trend is not available in this view yet.
27130 days
1.3K90 days
11.2K1 year
Compare downloads with other packages →
Also on130 r2u21 autocran

Repository

Repository
17Stars
4Forks
0Open issues
0Open PRs
6Releases
275Commits
3Contributors
non-parametrickernel-density-estimationasymmetric-kernelsdensity-estimation
275 commits · Last activity 2026-05-05 · 0% stars, 30d

Stars over time

2025-02-10 · 162026-07-07 · 17

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/jonasmoss/kdensity on 2026-08-16.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
Show all practices
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v1 (2026-07-18)

Development tooling

AI-assisted toolingBeta

Uses AI-assisted development tooling (declared in repo)

Earliest detected marker: codex on 2026-05-04

codexclaudegemini

Most recent: gemini on 2026-07-18

Evidence
  • agents-md: on 2026-05-04 · evidence D
  • codex: on 2026-05-04 · evidence D
  • claude: on 2026-05-04 · evidence B, D
  • gemini: on or before 2026-07-18 · evidence D
How this is detected·Detection ruleset v2 (updated 2026-07-29)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (1)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
3direct
0indirect

Code & Tests

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Contributors (1)
Contributor
Package Timeline

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

  • 1.2.0Latest
    2026-05-05 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.1.1
    2025-03-04 · 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
  • 1.1.0
    2020-09-30 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.0.1
    2019-07-11 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 1.0.0
    2018-02-27
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2018-02-27
Total releases
5 / 8 yrs
License
MIT + file LICENSE OSI
Download size
195 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("kdensity")
Moss, J., & Tveten, M. (2026). kdensity: Kernel Density Estimation with Parametric Starts and Asymmetric Kernels (Version 1.2.0) [Computer software]. https://doi.org/10.32614/CRAN.package.kdensity

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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

From data release v2026-08-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