Skip to content

ggtrendline

1.0.3Package record

Add Trendline and Confidence Interval to 'ggplot'

0packages dependsuggested by 1
3.5Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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

CRAN checks
13OK
Slowest check: 1.5 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.0.3
READMENoVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Description cites an R Journal article
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

3.5K
CRAN downloads in the past year
Rank #14,671 · ~10/day · ~291/mo
Daily download trend is not available in this view yet.
30130 days
82790 days
3.5K1 year
Compare downloads with other packages →
Also on70 r2u1 autocran

Repository

28Stars
2Forks
7Open issues
0Open PRs
1Releases
11Commits
1Commit identities
11 commits · Last activity 2022-05-04
Responsiveness
How these are sampled
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

2025-07-29 · 282026-07-07 · 28
PracticesBeta

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.

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 3.5.2
Imports (2)
statsggplot2
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 1
Suggests, most downloaded first

People & History

People (8)
Author, Maintainer since 1.0.3 (2022), Copyright holder
Contributor
Contributor
Contributor
Contributor
Contributor
Releases (1)
  • 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
  • 1.0.3Latest
    2022-04-27 · current release
  • R
    R 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")
Mei, W., Greenwell, B. M., Lai, J., Mao, Z., Umezawa, Y., Wang, J., Yu, G., & Zeng, J. (2022). ggtrendline: Add Trendline and Confidence Interval to 'ggplot' (Version 1.0.3) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for ggtrendline version 1.0.3 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

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.

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