Compared to ‘ggpp’ 0.4.1, the following changes have been introduced.
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.
Note: The default argument for
stat_centroid() is likely to change in the near future. Otherwise, the three statistics can be considered now stable.
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.
.fun.yare not passed anargument. This is a code breaking change with respect to the previous (unstable) version.
stat_centroid()to support functions that return a one row data frame, like those defined in ‘ggplot2’ to be passed as argument to parameter
ggplot2::stat_summary(), such as
- Fix bug in
stat_apply_group()resulting in the return of a long data frame with
NAvalues instead of a data frame with fewer rows.
stat_apply_panel(), as it was redundant. (Grouping can be modified per layer when needed.)
Please raise issues concerning bugs or enhancements to this package through GitHub at https://github.com/aphalo/ggpp/issues. 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.