Add Trendline and Confidence Interval of Basic Regression Models to Plot
Overview
Plot, draw regression line and confidence interval, and show regression equation, R-square and P-value, as simple as possible, by using different models ("line2P", "line3P", "log2P", "exp2P", "exp3P", "power2P", "power3P") built in the 'trendline()' function.
Date: 2020-11-23
- add '...' to selfStart function(mCall,LHS, data, ...) to meet the update in 'nls' function in R package 'stats'.
- divide 'show.Rpvalue' into tow parameters named 'show.Rsquare' and 'show.pvalue'.
From NEWS in the release
Install
Health
CRAN check results are not tracked yet.
Documentation
- Help pages
- 6
- Examples that run
- 100%6 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 44%
- Return-value docs
- 17%
- Help pages citing references
- 17%
Downloads
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.2.0 released · 2022-04-22
- archivedRemoved from CRAN2022-03-20requires archived package 'investr'
- RR 4.1.0 released · 2021-05-18
- 2.0.52020-11-23 · diff ↗
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 2.0.32018-07-26 · diff ↗
- 2.0.22018-07-25 · diff ↗
- 1.2.0
- RR 3.5.0 released · 2018-04-23
- 1.0.12018-01-09
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2018-01-09
- Total releases
- 5 / 8 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 2.1.0
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("basicTrendline")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-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.