New package

ggpmisc 0.2.1 (1st release: new package)

I wrote this currently small package to hold ggplot2 extensions which can be useful for plotting any data and/or can serve as examples of how to write such extensions for ggplot2 (>= 2.0.0). This package is not targeted only at photobiology and so it is separate from the suite.

At the moment it contains five statistics:

stat_debug_group()  and stat_debug_group() just echo to a label on the plot information on the data for a group or panel. I wrote it for debugging and better understanding what data was being passed to an stat I was writing.

stat_poly_eq() can be used to add to a plot the equation corresponding to a fit of a polynomial of any degree returned by lm(). By default it only adds r2 as this value will be valid even if the fitted model is not a polynomial.

stat_peaks() and stat_valleys() are versions of the statistics of the same names in package photobiology simplified so as to work with x and y data that are simply numeric, rather than requiring spectra.

The vignette includes code examples with minimal explanations.

Please, report any problems you encounter, and suggest possible changes or additions to the functionality!

NOTE: Sources, and Windows binaries for R 3.2.x, are now available in the R repository.

Preview

ggpmisc 0.2.0 (1st preview: new package)

I wrote this currently small package to hold ggplot2 extensions which can be useful for plotting data and/or can serve as examples of how to write such extensions for ggplot2 (>= 2.0.0).

At the moment it contains for statistics:

stat_debug() just echos to a label on the plot information on the data for a group. I wrote it for debugging and better understanding what data was being passed to an stat I was writing.

stat_poly_eq() can be used to add to a plot the equation corresponding to a fit of a polynomial of any degree returned by lm(). By default it only adds r2 as this value will be valid even if the fitted model was not a polynomial.

stat_peaks() and stat_valleys() are versions of the statistics of the same names in package photobiology simplified so as to work with x and y data that are simply numeric, rather than requiring spectra.

The user Guide includes code examples with explanations but some of the statistics added today lack examples.

Please, report any problems you encounter, and suggest possible changes or additions to the functionality!

NOTE: Sources, and Windows binaries for R 3.2.x, are now available in the R-test repository.

Preview

ggspectra 0.1.3 (4th preview: new package)

Added and renamed the “summary” statistics.

All plot() methods should function as in package photobiologygg except that as annotation() is not used at all and has been replaced by newly defined ggplot2 statistics all calculations are done per group and PANEL. Only some aesthetics may need to be tweaked when grouping is used.

User Guide includes code examples with explanations but some of the statistics added today lack examples.

Please, report any problems you encounter, and suggest possible changes or additions to the functionality!

NOTE: Sources, and Windows binaries for R 3.2.x, are now available in the R-test repository.

Preview

ggspectra 0.1.2 (3rd preview: new package)

Renamed several methods to better reflect their functions.

Revised User Guide with explanations for all code examples and improved some of the code in the User Guide.

Please, report any problems you encounter, and suggest possible changes or additions to the functionality!

NOTE: Sources, and Windows binaries for R 3.2.x, are now available in the R-test repository.