Learn R Programming

⚠️There's a newer version (2.2.1) of this package.Take me there.

GGally: Extension to ggplot2

ggplot2 is a plotting system for R based on the grammar of graphics. GGally extends ggplot2 by adding several functions to reduce the complexity of combining geoms with transformed data. Some of these functions include a pairwise plot matrix, a scatterplot plot matrix, a parallel coordinates plot, a survival plot, and several functions to plot networks.

Installation

To install this package from GitHub or CRAN, do the following from the R console:

# Github
library(devtools)
install_github("ggobi/ggally")
# CRAN
install.packages("GGally")

Copy Link

Version

Install

install.packages('GGally')

Monthly Downloads

87,611

Version

1.5.0

License

GPL (>= 2.0)

Issues

Pull Requests

Stars

Forks

Last Published

March 25th, 2020

Functions in GGally (1.5.0)

ggally_na

NA plot
ggally_facetbar

Plots the Bar Plots Faceted by Conditional Variable
ggcoef

ggcoef - Plot Model Coefficients with broom and ggplot2
add_ref_lines

Add reference lines for each cell of the glyphmap.
fn_switch

Function switch
ggcorr

ggcorr - Plot a correlation matrix with ggplot2
getPlot

getPlot
ggts

Multiple Time Series
ggally_points

Plots the Scatter Plot
ggally_facetdensity

Plots the density plots by faceting
+.gg

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

ggnostic - Cook's distance
ggally_nostic_hat

ggnostic - leverage points
ggally_nostic_line

ggnostic -background line with geom
ggally_ratio

Plots a mosaic plot
add_ref_boxes

Add reference boxes around each cell of the glyphmap.
ggally_facetdensitystrip

Plots a density plot with facets or a tile plot with facets
ggally_diagAxis

Internal Axis Labeling Plot for ggpairs
australia_PISA2012

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

Plot only legend of plot function
get_x_axis_labels

Get x axis labels
ggally_densityDiag

Plots the Density Plots by Using Diagonal
glyphs

Create the data needed to generate a glyph plot.
ggally_nostic_resid

ggnostic - residuals
ggmatrix

ggmatrix - A ggplot2 Matrix
grab_legend

Grab the legend and print it as a plot
ggally_density

Plots the Scatter Density Plot
mapping_color_to_fill

Aesthetic Mapping Color Fill
is_horizontal

Check if plot is horizontal
ggally_nostic_se_fit

ggnostic - fitted value standard error
glyphplot

Glyph plot class
ggally_denstrip

Plots a tile plot with facets
print.ggmatrix

Print ggmatrix object
ggally_barDiag

Plots the Bar Plots by Using Diagonal
ggnetworkmap

ggnetworkmap - Plot a network with ggplot2 suitable for overlay on a ggmap:: map ggplot, or other ggplot
ggally_dot_and_box

Plots either Box Plot or Dot Plots
is_date

Check if object is a date
plotting_data_type

Get plotting data type
ggfacet

ggfacet - single ggplot2 plot matrix with facet_grid
ggally_text

Text Plot
ggally_blank

Blank
ggally_dot

Plots the Box Plot with Dot
ggally_nostic_sigma

ggnostic - leave one out model sigma
skewness

Sample skewness
str.ggmatrix

ggmatrix structure
ggally_smooth

Plots the Scatter Plot with Smoothing
ggscatmat

ggscatmat - a traditional scatterplot matrix for purely quantitative variables
ggnet

ggnet - Plot a network with ggplot2
ggally_nostic_std_resid

ggnostic - standardized residuals
model_response_variables

Model term names
happy

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

Plots the Histograms by Faceting
wrap_fn_with_param_arg

Wrap a function with different parameter values
v1_ggmatrix_theme

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

Print ggmatrix object
singleClassOrder

Order axis variables
nasa

Data from the Data Expo JSM 2006.
ggnet2

ggnet2 - Plot a network with ggplot2
require_namespaces

Loads package namespaces
scatmat

scatmat - plot the lowertriangle plots and density plots of the scatter plot matrix.
ggmatrix_progress

ggmatrix default progress bar
lowertriangle

lowertriangle - rearrange dataset as the preparation of ggscatmat function
ggsurv

Survival curves with ggplot2
putPlot

Put Plot
scag_order

Find order of variables
print_if_interactive

Print if not CRAN
ggduo

ggduo - A ggplot2 generalized pairs plot for two columns sets of a data.frame
psychademic

UCLA canonical correlation analysis data
ggnostic

ggnostic - Plot matrix of statistical model diagnostics
is_blank_plot

Is Blank Plot? Find out if the plot equals a blank plot
mapping_string

Aes name
rescale01

Rescaling functions
ggpairs

ggpairs - A ggplot2 generalized pairs plot
ggparcoord

ggparcoord - A ggplot2 Parallel Coordinate Plot
twitter_spambots

Twitter spambots
mapping_swap_x_y

Swap x and y mapping
uppertriangle

uppertriangle - rearrange dataset as the preparation of ggscatmat function
pigs

United Kingdom Pig Production
plot_types

Plot Types
brew_colors

RColorBrewer Set1 colors
flea

Historical data used for classification examples.
find_plot_type

Find Plot Types
eval_data_col

Evaluate data column
broomify

Broomify a model
column_is_character

Get vector of variable types from data frame
add_and_overwrite_aes

Add new aes
ggally_box

Plots the Box Plot
ggally_cor

Correlation from the Scatter Plot