Add Trendline and Confidence Interval to 'ggplot'
Overview
Add trendline and confidence interval of linear or nonlinear regression model and show equation to 'ggplot' as simple as possible. For a general overview of the methods used in this package, see Ritz and Streibig (2008) doi:10.1007/978-0-387-09616-2 and Greenwell and Schubert Kabban (2014) doi:10.32614/RJ-2014-009.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 9
- Examples that run
- 100%6 run in a plain check
- Exported functions with examples
- 67%
- Documented parameters
- 55%
- Return-value docs
- 100%
- Help pages citing references
- 22%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 0
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Forks over time
Releases over time
Issues over time
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/phdmeiwp/ggtrendline on 2026-10-25.
Dependencies
Installing ggtrendline adds 17 packages (7 with compiled code, 14 MB of source tarballs). Heaviest: ggplot2 6.0 MB, isoband 1.5 MB, farver 1.2 MB.
Code & Tests
People & History
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 1.0.3Latest2022-04-27 · current release
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2022-04-27
- Total releases
- 1 / 4 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.5.2
- Download size
- 15 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("ggtrendline")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-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.