Make DenseLines Heatmaps with 'ggplot2'
Overview
Visualise overlapping time series lines as a heatmap of line density. Provides a 'ggplot2' statistic implementing the DenseLines algorithm, which "normalizes time series by the arc length to compute accurate densities" (Moritz and Fisher, 2018) doi:10.48550/arXiv.1808.06019.
stat_path_density() is added for binning paths connecting observations in the
order in which they appear in the data.
stat_line_density() now computes count, ncount and ndensity variables,
and the normalise argument is therefore removed.
From NEWS.md in the release
Install
Health
NOTEdependencies in R coder-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Namespace in Imports field not imported from: ‘vdiffr’ All declared Imports should be used.
- NOTE11 OK, 2 NOTENow
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 1
- Examples that run
- 100%1 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 0%
- Help pages citing references
- 100%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 3
- Median days to close, 50 most recently updated closed PRs
- not measured
6 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/hrryt/gglinedensity on 2026-10-18.
GitHub Pages site last deployed 2026-06-26 · The repository has a site deploy workflow
pkgdown site last built 2026-06-26
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.2.0Latest
- 0.1.12025-05-20 · diff ↗
- 0.1.02025-05-10
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2025-05-10
- Total releases
- 3 / 1 yrs
- License
- GPL (>= 3) OSI
- Download size
- 3.7 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("gglinedensity")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.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.