ggpmisc 0.5.0

ggpmisc 0.4.7

ggpmisc 0.4.6

This update fixes a significant bug. Although the problem, when triggered, is obvious by looking at the plot, please, update.

ggpmisc 0.4.5

This is a minor update for compatibility with ‘ggpp’ (>= 0.4.3) and fixing a wrong version number for ‘gginnards’ in DESCRIPTION.

ggpmisc 0.4.4

An issue raised in GitHub and a question in StackOverflow asked for the possibility of changing how fitted lines are plotted based on the goodness of the fit. In addition an old question in StackOverflow highlighted the need of more intuitive support for annotations based on stats::cor.test(). We implemented these requested enhancements and continued adding support for flipping of statistics through parameter orientation as implemented in ‘ggplot2’ since version 3.3.0.

ggpmisc 0.4.3

Add statistics stat_ma_line() and stat_ma_eq() implementing model II regression based on package ‘lmodel2’ (major axis, standard major axis, and ranged major axis regression). Methods coef(), confint() and predict() for fit objects returned by lmodel2::lmodel2() are also implemented and exported.

Removed setting of fill to light blue in stat_quant_band() as there is no safe way of overriding the geom’s default.

ggpmisc 0.4.2-2

Fix major bug in stat_poly_eq() and stat_quant_eq() affecting only some R builds, reported and reproduced for Linux. (Reported by Flavio Lozano-Isla, T. BruceLee and Lewis Hooper, debugged with the help of Mark B. Neal.) Reported to affect versions 0.4.0, 0.4.1, 0.4.2 and 0.4.2-1.

ggpmisc 0.4.2-1

Fix a bug remaining in 0.4.2, that could result in after_stat() not being found. (Reported by Prof. Brian Ripley and Michael Steinbaugh.)

ggpmisc 0.4.2

Changes to Depends, Imports and Suggests, to solve errors and/or to avoid dependencies that are not needed. As a consequence package ‘broom’ is no longer automatically installed as a dependency of ‘ggpmisc’ and if used, will need to be explicitly installed by the user. Several examples are now run only if the necessary packages have been installed (Prof. Brian Ripley, Uwe Ligges and members of the CRAN’s team are thanked for package quality control).

ggpmisc 0.4.1

The suggestion from Mark Neal of adding support for quantile regression partly addressed in ggpmisc 0.4.0 has lead to additional enhancements in this version. The idea of supporting confidence bands for quantile regression came from Samer Mouksassi who also provided code examples. Additional suggestions from Mark Neal, Carl and other users have lead to bug fixes as well as to an interface with better defaults for arguments (see issue #1). Some other enhancements are based on my own needs or ideas.

ggpmisc 0.4.0

Package ‘ggpmisc’ has been split into two packages: ‘ggpp’ containing extensions to the grammar of graphics and ‘ggpmisc’ containing extensions related to plot decorations based on model fits, statistical summaries and other descriptors of the data being plotted. Package ‘ggpmisc’ depends on ‘ggpp’ with no visible changes for users. Package ‘ggpp’ can be loaded instead of ‘ggpmisc’ when only the extensions it contains are needed. Package ‘gginnards’ containing tools for editing ggplot objects as well as tools for inspecting them is an earlier spin-off from ‘gpmisc’.

The changes in this version stem for users’ questions and suggestions. Many thanks!

ggpmisc 0.3.9

ggpmisc 0.3.8-1

ggpmisc 0.3.8

ggpmisc 0.3.7

ggpmisc 0.3.6

ggpmisc 0.3.5

ggpmisc 0.3.4

ggpmisc 0.3.3

ggpmisc 0.3.2

This version implements some new features and fixes bugs in the features introduced in version 0.3.1, please do rise an issue if you notice any remaining bugs! Some reported weaknesses in the documentation have been addressed. This updated version depends on ‘ggplot2’ (>= 3.2.1).

ggpmisc 0.3.1

This is a major update, with a few cases in which old code may need to be revised to work, and many cases in which there will be subtle differences in the positions of labels used as annotations. The many new features may still have some bugs, please do rise an issue if you notice one!

Version requiring ‘ggplot2’ (>= 3.1.0).

Add new geometries, several of them accepting x and y in npc units through the new aesthetics npcx and npcy, allowing positioning relative to plotting area irrespective of native data units and scale limits. These geometries are useful on their own for annotations in particular they allow consistent positioning of textual summaries. By default they do not inherit the plot’s aesthetic mappings making their behaviour remain by default in-between that of true geometries and that of annotate().

ggpmisc 0.3.0

Version requiring ‘ggplot2’ (>= 3.0.0), now in CRAN. Low level manipulation and debug methods and functions moved to new package ‘gginnards’ available through CRAN.

ggpmisc 0.2.17.9902

Non-CRAN version with additional functionality, but requiring the development version of ‘ggplot2’.

ggpmisc 0.2.17.9900

Non-CRAN version with additional functionality, but requiring the development version of ‘ggplot2’ >= 2.2.1.9000 (>= commit of 2017-02-09) from Github. Visit

ggpmisc 0.2.17

CRAN version

ggpmisc 0.2.16

ggpmisc 0.2.15

Add stat_fit_tidy() implemented using broom::tidy(). Makes it possible to add the fitted equation for any fitted model supported by package ‘broom’, as long as the user supplies within aes() the code to build a label string. Update user guide.

ggpmisc 0.2.14

Fix bug in stat_poly_equation() eq.x.rhs argument ignored when using expressions.

ggpmisc 0.2.13

ggpmisc 0.2.12

ggpmisc 0.2.11

ggpmisc 0.2.10

ggpmisc 0.2.9

ggpmisc 0.2.8

ggpmisc 0.2.7

ggpmisc 0.2.6

ggpmisc 0.2.5

ggpmisc 0.2.4

ggpmisc 0.2.3

ggpmisc 0.2.2

ggpmisc 0.2.1

ggpmisc 0.1.0

First version.