Plot Matrix

More details in vig_ggally("ggpairs"), vig_ggally("ggmatrix"), and vig_ggally("ggscatmat")

ggmatrix()

ggplot2 plot matrix

ggpairs()

ggplot2 generalized pairs plot

ggduo()

ggplot2 generalized pairs plot for two columns sets of data

ggscatmat()

Traditional scatterplot matrix for purely quantitative variables

ggfacet()

Single ggplot2 plot matrix with facet_grid

ggts()

Multiple time series

High-Level Plots

See vig_ggally("ggally_plots") for a list with examples of all high-level plots.

ggally_autopoint() ggally_autopointDiag()

Scatterplot for continuous and categorical variables

ggally_barDiag()

Bar plot

ggally_blank() ggally_blankDiag()

Blank plot

ggally_box() ggally_box_no_facet()

Box plot

ggally_colbar() ggally_rowbar()

Column and row bar plots

ggally_count() ggally_countDiag()

Display counts of observations

ggally_cor()

Correlation value plot

ggally_cross()

Plots the number of observations

ggally_crosstable()

Display a cross-tabulated table

ggally_density()

Bivariate density plot

ggally_densityDiag()

Univariate density plot

ggally_denstrip()

Tile plot with facets

ggally_diagAxis()

Internal axis labels for ggpairs

ggally_dot() ggally_dot_no_facet()

Grouped dot plot

ggally_facetbar()

Faceted bar plot

ggally_facetdensity()

Faceted density plot

ggally_facetdensitystrip()

Density or tiles plot with facets

ggally_facethist()

Faceted histogram

ggally_na() ggally_naDiag()

NA plot

ggally_points()

Scatter plot

ggally_ratio()

Mosaic plot

ggally_smooth() ggally_smooth_loess() ggally_smooth_lm()

Scatter plot with a smoothed line

ggally_statistic()

Generalized text display

ggally_summarise_by() weighted_median_iqr() weighted_mean_sd()

Summarize a continuous variable by each value of a discrete variable

ggally_table() ggally_tableDiag()

Display a table of the number of observations

ggally_text()

Text plot

ggally_trends()

Trends line plot

Major Plotting Functions

More details in vig_ggally("ggbivariate"), vig_ggally("ggcoef"), vig_ggally("ggcoef_model"), vig_ggally("ggsurv"), and vig_ggally("ggtable")

ggbivariate()

Display an outcome using several potential explanatory variables

ggcoef()

Model coefficients with broom and ggplot2

reexports ggcoef_model ggcoef_compare ggcoef_multinom ggcoef_plot signif_stars geom_stripped_cols geom_stripped_rows stat_cross StatCross stat_prop StatProp stat_weighted_mean StatWeightedMean

Objects exported from other packages

ggcorr()

Correlation matrix

ggparcoord()

Parallel coordinate plot

ggsurv()

Survival curves

ggtable()

Cross-tabulated tables of discrete variables

Modeling Diagnostics

More details in vig_ggally("ggnostic")

ggnostic()

Plot matrix of statistical model diagnostics

broomify()

Broomify a model

ggally_nostic_cooksd()

ggnostic Cook's distance

ggally_nostic_hat()

ggnostic leverage points

ggally_nostic_line()

ggnostic background line with geom

ggally_nostic_resid()

ggnostic residuals

ggally_nostic_se_fit()

ggnostic fitted value's standard error

ggally_nostic_sigma()

ggnostic leave one out model sigma

ggally_nostic_std_resid()

ggnostic standardized residuals

Glyph Plot

More details in vig_ggally("glyph")

glyphs()

Create glyphplot data

add_ref_boxes()

Add reference boxes around each cell of the glyphmap.

add_ref_lines()

Add reference lines for each cell of the glyphmap.

glyphplot() is.glyphplot() `[`(<glyphplot>) print(<glyphplot>)

Glyph plot class

range01() max1() mean0() min0() rescale01() rescale11()

Rescaling functions

Network Plots

More details in vig_ggally("ggnetworkmap")

ggnet()

Network plot

ggnet2()

Network plot

ggnetworkmap()

Network plot map overlay

Additional Statistics for ggplot2

More details in vig_ggally("ggally_stats")

reexports ggcoef_model ggcoef_compare ggcoef_multinom ggcoef_plot signif_stars geom_stripped_cols geom_stripped_rows stat_cross StatCross stat_prop StatProp stat_weighted_mean StatWeightedMean

Objects exported from other packages

Additional Geometries for ggplot2

reexports ggcoef_model ggcoef_compare ggcoef_multinom ggcoef_plot signif_stars geom_stripped_cols geom_stripped_rows stat_cross StatCross stat_prop StatProp stat_weighted_mean StatWeightedMean

Objects exported from other packages

ggmatrix() Helpers

`+`(<gg>) add_to_ggmatrix()

Modify a ggmatrix object by adding an ggplot2 object to all plots

ggmatrix_location()

ggmatrix plot locations

wrap_fn_with_param_arg() wrapp() wrap() wrap_fn_with_params()

Wrap a function with different parameter values

getPlot() `[`(<ggmatrix>)

Subset a ggmatrix object

putPlot() `[<-`(<ggmatrix>)

Insert a plot into a ggmatrix object

fn_switch()

Function switch

grab_legend() print(<legend_guide_box>)

Grab the legend and print it as a plot

gglegend()

Plot only legend of plot function

eval_data_col()

Evaluate data column

mapping_swap_x_y()

Swap x and y mapping

mapping_color_to_fill()

Aesthetic mapping color fill

remove_color_unless_equal()

Remove colour mapping unless found in select mapping keys

print(<ggmatrix>)

Print ggmatrix object

ggmatrix_gtable()

ggmatrix gtable object

ggmatrix_progress()

ggmatrix default progress bar

str(<ggmatrix>)

ggmatrix structure

print_if_interactive()

Print if not CRAN

Utilities

brew_colors()

RColorBrewer Set1 colors

find_plot_type()

Find plot types

is_horizontal() is_character_column()

Check if plot is horizontal

lowertriangle()

lowertriangle - rearrange dataset as the preparation of ggscatmat function

mapping_string()

Aes name

model_response_variables() model_beta_variables() model_beta_label()

Model term names

scag_order()

Find order of variables

scatmat()

Plots the lowertriangle and density plots of the scatter plot matrix.

singleClassOrder()

Order axis variables

skewness()

Sample skewness

reexports ggcoef_model ggcoef_compare ggcoef_multinom ggcoef_plot signif_stars geom_stripped_cols geom_stripped_rows stat_cross StatCross stat_prop StatProp stat_weighted_mean StatWeightedMean

Objects exported from other packages

uppertriangle()

Rearrange dataset as the preparation of ggscatmat function

vig_ggally()

View GGally vignettes

Datasets

australia_PISA2012

Programme for International Student Assessment (PISA) 2012 Data for Australia

baseball

Yearly batting records for all major league baseball players

flea

Historical data used for classification examples.

happy

Data related to happiness from the General Social Survey, 1972-2006.

nasa

Data from the Data Expo JSM 2006.

pigs

United Kingdom Pig Production

psychademic

UCLA canonical correlation analysis data

tips

Tipping data

twitter_spambots

Twitter spambots

Legacy

v1_ggmatrix_theme()

Modify a ggmatrix object by adding an ggplot2 object to all

ggally_cor_v1_5()

Correlation value plot