ggpp 0.4.2

Documentation web site at includes all help pages, with output from all examples, vignettes as well as a changelog in HTML format.


The initial implementation and user interface of three apply statistics first introduced in ‘ggpmisc’ 0.3.6 has been revised to expand their usefulness and to make them less error-prone, while the
fourth one is now defunct.

Changes compared to ‘ggpp’ 0.4.1


  • Update stat_apply_group() to support summary functions like quantile() that return vectors with more than one value but shorter than the original number of observations.
  • Update stat_summary_xy() and stat_apply_group() to return NA x and/or y when .fun.x or .fun.y are not passed anargument. This is a code breaking change with respect to the previous (unstable) version.
  • Update stat_summary_xy() and stat_centroid() to support functions that return a one row data frame, like those defined in ‘ggplot2’ to be passed as argument to parameter of ggplot2::stat_summary(), such as mean_se, mean_cl_boot, etc.

Bugs fixed

  • Fix bug in stat_centroid(), stat_summary_xy() and stat_apply_group() resulting in the return of a long data frame with NA values instead of a data frame with fewer rows.
  • Remove stat_apply_panel() , as it was redundant. (Grouping can be modified per layer when needed.)


The default argument for geom in stat_centroid() is likely to change in the near future. Otherwise, the three statistics can be considered now stable.

Please raise issues concerning bugs or enhancements to this package through GitHub at Pull requests are also welcome.

NOTE: The updated ‘ggpp’ (0.4.2) is on its way to CRAN. The latest development version of the package can be installed from GitHub.


Share with

Leave a Reply