from Data to Viz (external link)

from data to Viz is a new web site related to data analysis and R. Its aim is to make it easier to choose among different types of data visualisations. It looks beautiful, is easy to navigate, includes “trees” displaying a classification of visualizations and multiple individual examples with the corresponding R code.  Highly recommended!

To access the website and/or to buy the printed poster visit from Data to Viz.



ggpmisc (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.


ggspectra (Added functionality)

Preview of future CRAN version 0.1.7.

Revise plot.raw_spct() to handle multiple "counts" columns.
Revise plot.cps_spct() to handle multiple "cps" columns.
Add text.size parameter to all plot() methods. Can be used to control the size
of the font used for text decorations related to wavebands, peaks and valleys.
Increase slightly the default font size for plot decorations, and decrease the
number of peaks and valleys labeled by the plot() methods.

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

NOTE: The packages are now available from the R-respository at this site.


ggpmisc 0.2.7 (CRAN release)

Changes from version 0.2.6

Add support for AIC and BIC labels to stat_poly_eq().
Add pretty-printing of parameter values expressed in engineering notation in stat_poly_eq().
Add support for user-supplied x and y coordinates for label positioning to stat_poly_eq().
Add console output to stat_debug_group() and stat_debug_panel().
Add new functions geom_debug() and geom_null().
(At the moment geom_null() is very similar to ggplot2::geom_blank() but may evolve in the future.)

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