Update

ggpmisc 0.2.7.9001 (Preview)

Improve the automatic positioning of labels generated by stat_poly_eq(), most notably when grouping is in effect and with facets with free scales.  The values passed as argument to the new parameters label.x.npc and label.y.npc are in normalized parent coordinates with fractional values relative to the total dimension of the x and y scales. Character strings “right”, “center” and “left” for x and “top”, “center”, and “bottom” for y are also recognized. The behaviour of parameters label.x and label.y remains unchanged and they override any arguments passed through label.x.npc and label.y.npc. However, passing absolutes coordinates through the old parameters will be rarely needed.

Add stat_fit_deviations() for easily highlighting residuals in plots of fitted models, and stat_fit_residuals() for easily plotting residuals in plots matching plots of “lm” fits plotted with stat_smooth() even with grouping or facets. At the moment these two stats support lm() fits only.

Add stat_fit_glance() which uses package broom::glance() to produce a one-row data frame summarizing the model fit object. This gives maximum flexibility in model function choice at the expense of very frequently having to set aesthetics explicitly.

Add preliminary version of stat_fit_augment() which uses broom::augment() to enhance the data frame received as input with variables related to a model fit. At the moment functionality is very limited.

NOTE: This version of the package is now available from the R and R-test repositories at this site.

Update

ggpmisc 0.2.6.9010 (Preview)

Add support for user-supplied x and y coordinates for label positoining to stat_poly_eq().
Add console output to stat_debug_group() and stat_debug_panel().
Add new functions geom_debug() and geom_null().

NOTE: This version of the package is now available from the R and R-test repositories at this site.

Updates

ggpmisc 0.2.6 (CRAN update)

Submitted to CRAN.

Add support for user-supplied lhs and for user-supplied rhs-variable name in the equation label returned by stat_poly_eq().

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

NOTE: This version of the package is now available from CRAN.

ggpmisc 0.2.6.9000 (Preview)

Add support for AIC and BIC labels to stat_poly_eq().
Add pretty-printing of parameter values expressed in engineering notation to stat_poly_eq().

NOTE: This version of the package is now available from the R-test repository at this site.

New package

ggspectra 0.1.4 (1st release: new package)

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.

Specialized ggplot() methods for objects of the spectral classes in package photobiology are defined. They only differ from the method for data frames in that they set default mappings for x and y aesthetics according to the type of spectrum.

Several ggplot statistics are defined. They all expect as x aesthetic wavelength values expressed in nanometres: stat_color(), stat_peaks(), stat_valleys(), stat_wb_contribution()stat_wb_irrad(), stat_wb_mean(),   stat_wb_relative(), stat_wb_sirrad()stat_wb_total()stat_wl_strip()stat_wl_summary().

One ggplot geometry is defined: geom_spct().

One function for combining several ggplot objects: multiplot() and one function grouping a stat, a geom and a scale:   wl_guide().

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 repository and package photobiologygg has been removed from the repository as it is incompatible with the current version of ggplot2.