NEWS.md
Replace internal usage with the base pipe (|>). (Thank you @m-muecke! #554)
Enhance all error and warning outputs by using cli. (Thank you @m-muecke! #557)
Add nba_ppg_2008 dataset describing NBA Player Statistics for 2008-2009 Season. (#562)
Update ggnetworkmap to use airports package for airport data visualization. (#562)
With ggplot2 v4.0.0, objects are now +’ed together using S7. This means the startup message for Registered S3 method overwritten by 'GGally' has been removed. (Thank you @teunbrand for the enhancement in ggplot2! #545)
Fixed bug where correlations of 0 in a ggcor() output were silently dropped. Now all correlations are always displayed. (Thank you @winterstat! #536)
Fixed correlations values ggcor() so that they are formatted to the same number of decimal places via label_round. Now 0.2 and 0.001 with label_round = 2 will be displayed as "0.20" and "0.00" respectively. (Thank you @winterstat! #536)
Added parameter ggally_cor(na.rm=) which is passed directly to ggally_statistic(). (Thank you @vinouselouane! #516)
Deprecated parameter ggally_cor(use=). The value was never leveraged within the code. Please use ggally_cor(na.rm=) instead. (Thank you @vinouselouane! #516)
Prepare GGally for ggplot2 v4 (Thank you @teunbrand! #528)
Replace internal plyr usage with dplyr. (Thank you @MichaelChirico! #520, #521, #522, #523, #524, #525, #527, #530)
General package dependency cleanup. (Thank you @olivroy! #509)
Fix anyClass ordering in ggparcoord() when data has missing values (Thank you @92amartins! #500)
Use lifecycle for deprecation warnings (Thank you @92amartins! #494, #496)
Leverage .data$ mask to remove all global variable declarations. (Thank you @MichaelChirico! #533)
Warn and return "NA" when less than 3 values are given to a combination in ggally_cor(). (Thank you @bk1n! #510)
Added helper method is_ggmatrix() to check if an object is a ggmatrix object. (#548)
Remove gg class from ggmatrix objects. This is no longer needed due to enhanced + S7 methods. (#549)
Bumped minimum required version of R to 4.3 due to S7 handling the + operations. (#549)
ggally_count() (#420)ggcoef_compare() (#426)ggcoef_compare() when using tidy selectors for no_reference_row (#430)ggcoef_compare() regarding no_reference_row option (#430)ggcoef_compare() with an include argument (#447)ggcoef_model(), now using broom.helpers::tidy_with_broom_or_parameters() (#432)..scaled.. with after_stat(scaled) in ggscatmat (#467)ggplot2 usage of *_guide = FALSE with *_guide = "none" (@larmarange, #418)network >= 1.17.1 (#418)colour aesthetic if all values are NA. (@larmarange, #404)stat_cross(). (@larmarange, #402)emmeans to allow ggcoef() example to execute. (#407)broom, computed residuals in stat_cross() are now named "resid" and "std.resid". cells and fill arguments of ggally_crosstable() and ggtable() have been updated accordingly (@larmarange, #391)ggcoef() redesign based on broom.helpers with four new functions: ggcoef_model(), ggcoef_compare(), ggcoef_multinom() and ggcoef_plot() (more informations in the dedicated vignette, @larmarange, #392)geom_stripped_rows() and geom_stripped_cols() (#392, @larmarange)reverse_fill_labels for ggally_colbar() and ggally_rowbar() (@larmarange, #374)stat_prop() now accepts a x or a y aesthetic (#395, @larmarange)ggally_statistic(family) to avoid monospaced font issues. See #373 for more details. (#387)vig_ggally("ggally_plots") - ggally_*(): List of available high-level plotsvig_ggally("ggally_stats") - stat_*(): Additional statistics for ggplot2vig_ggally("ggbivariate") - ggbivariate(): Plot an outcome with several potential explanatory variablesvig_ggally("ggtable") - ggtable(): Cross-tabulated tablesGGally, call GGally::vig_ggally()
ggbivariate() (@larmarange, #324) * Display an outcome using several potential explanatory variables * vig_ggally("ggbivariate")
ggtable() (@larmarange, #351) * Cross-tabulated tables of discrete variables * vig_ggally("ggtable")
add_to_ggmatrix() (#362) * Add ggplot2 objects to ggmatrix objects at selected locations * Locations can be rows, columns, matrices, or other shorthand values.
ggally_autopoint(), ggally_autopointDiag() (@larmarange, #325) * Make scatterplots compatible with both continuous and categorical variables using ggforce::geom_autopoint().
ggally_colbar(), ggally_rowbar() (@larmarange, #324) * Plot column or row percentage using bar plots.
ggally_count(), ggally_countDiag() (@larmarange, #321) * Plot the number of observations by using rectangles with proportional areas.
ggally_cross() (@larmarange, #326) * Plot the number of observations by using square points with proportional areas.
ggally_crosstable() (@larmarange, #351) * Display a cross-tabulated table.
ggally_statistic() (#327) * A generalized version of ggally_cor() * Use this method to create functions similar to ggally_cor() that return any text value given and x and y vector of data
ggally_summarise_by() (@larmarange, #325) * Display summary statistics of a continuous variable for each value of a discrete variable.
ggally_table() (@larmarange, #326) * Plot the number of observations as a table.
ggally_trends() (@larmarange, #333) * Plot trends using line plots.
signif_stars() (@larmarange, #327) * Return the appropriate number of significance stars as a character vector for the provided numeric input values.
ggplot2 plot statistics:stat_cross() (@larmarange, #326) * Computes statistics of a 2-dimensional matrix using broom::augment.htest.
stat_prop() (@larmarange, #324) * Compute proportions according to custom denominator.
stat_weighted_mean() (@larmarange, #333) * Compute the mean of y aesthetic for each unique value of x, taking into account weight aesthetic if provided.
ggally_cor() (#327) * New implementation using ggally_statistic() * Will now hide the grid by default and add a border (displayGrid = FALSE) * Added the ability to display significance stars (stars = TRUE) * Alignment has been fixed so both short and long names should be displayed within view. alignPercent now corresponds to the center of the text. * Added the ability to separate the arguments sent to the title and the groups (title_args and group_args) * Digits now represents the total number of digits after the decimal place. * To use the old version, change your ggally_cor() function calls to ggally_cor_v1_5(). * Previously deprecated parameters have been removed
Website * Updated to use pkgdown (#335)
ggpairs() (#331) * New proportion argument to control relative size of sub-plots * option proportion = "auto" for automatic guess based on the number of levels for discrete variables
ggduo() (#331) * New xProportion and yProportion arguments to control relative size of sub-plots * Set option xProportion = "auto" and yProportion = "auto" for automatic guess based on the number of levels for discrete variables
ggscatmat() * lowertriangle() now preallocates it’s memory usage for a 2-5x speed improvement. (@vlepori, #328) * Fixed facet’ing error where the factor order was not preserved. This error caused the facets to be alphabetically sorted, cause plots to appear in unexpected locations. (#355)
ggnet and ggnet2 * Fixed some logic bugs from newer R versions
ggally_box and ggally_dot * Label now appears axis and is displayed in a plot matrix. (#253)
ggsurv * Provide sensible legend values when multiple factors are present. (#310)
ggally_cor * Added displayGrid argument to turn of the background grid. (#312)
ggpairs and ggduo
ggally_* functions do not require the GGally namespace (#269)eval_data_col, mapping_string, and mapping_swap_x_y (5d157f6)is_horizontal and is_character_column (#270)ggmatrix
progress parameter added to ggmatrix (and appropriate parent functions). Allows for TRUE, FALSE, NULL, and function(pm){...} (#271)ggnostic
ggnet2
ggally_smooth
shrink and se parameters to ggally_smooth (#247)ggcoef
sort parameter to sort by beta values (#273)ggparcoord
splineFactor = TRUE (#279)ggpairs and ggduo
ggparcoord
Package
Added new dataset psychademic
?psychademic for more detailsAdded original ggmatrix theme
switch to ggmatrix (and friends) to allow for strip repositioning. See ?ggplot::facet_grid for more documentation on switch (#223, #224)ggsurv error reporting
+.gg
ggmatrix.print
ggmatrix.print - massive update!
ggmatrix_gtable more details.ggmatrix legend
legend parameter in ggduo, ggpairs, and ggmatrix
grab_legend
ggnostic - New function!
ggmatrix of diagnostic plots from a model objectggfacet - New function!
ggduo and ggpairs
fn_switch - New function!
ggnostic for different behavior depending on the y variableggmatrix - allow custom labellers for facet labels
ggplot2::facet_grid()
ggmatrix and ggplot2::last_plot()
ggmatrix object is printed, ggplot2::last_plot() will return the plot matrixggmatrix and ggplot2 labels
ggplot2::labs +’ed to a ggmatrix objectggplot2::xlab and ggplot2::ylab may be +’ed to a ggmatrix objectggplot2::ggtitle +’ed to a ggmatrix objectggmatrix and ggplot2::ggsave()
ggsave now works with ggmatrix objectsggpairs and ggduo check for cardinality (#197)
cardinality_threshold parameter to a higher value can fix the problem (knowing single cell plots may take more time to produce)cardinality_threshold parameter to NULL can stop the checkggmatrix plot proportions
ggmatrix can set the plot proportions with the parameters xProportions and yProportions
ggally_cor colour aesthetic
ggsurv
Vignettes
packagedocs. More info at http://hafen.github.io/packagedocs/
ggally_box_no_facet and ggally_dot_no_facet
install requirements
ggduo - New!
ggally_smooth_loess - New!
ggally_smooth_lm - New!
ggmatrix.print
ggnetworkmap
ggsurv
package testing
ggcoef - New!
gglegend - New!
ggally_densityDiag
ggally_smooth
ggally_ratio
ggcorr
ggfluctuation2
ggnetworkmap
ggparcoord
ggpairs
ggscatmat
ggsurv
wrap
github chat
travis-ci
ggparcoord
ggscatmat
print.ggmatrix
ggplot2
New functions
Vignettes
ggmatrix
ggpairs
ggcorr
gglyph
ggparcoord
ggsurv
ggally_density
ggally_na
Data