Learn R Programming

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

GGally: Extension to ggplot2

Master:

Dev:

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

100,766

Version

1.4.0

License

GPL (>= 2.0)

Issues

Pull Requests

Stars

Forks

Last Published

May 17th, 2018

Functions in GGally (1.4.0)

ggally_nostic_hat

ggnostic - leverage points
glyphs

Create the data needed to generate a glyph plot.
ggally_nostic_sigma

ggnostic - leave one out model sigma
ggally_na

NA plot
putPlot

Put Plot
ggally_nostic_line

ggnostic -background line with geom
ggally_nostic_std_resid

ggnostic - standardized residuals
grab_legend

Grab the legend and print it as a plot
ggally_nostic_cooksd

ggnostic - Cook's distance
gglegend

Plot only legend of plot function
ggally_ratio

Plots a mosaic plot
ggally_points

Plots the Scatter Plot
require_namespaces

Loads package namespaces
ggmatrix

ggmatrix - A ggplot2 Matrix
ggally_facetdensity

Plots the density plots by faceting
ggscatmat

ggscatmat - a traditional scatterplot matrix for purely quantitative variables
ggally_facetbar

Plots the Bar Plots Faceted by Conditional Variable
ggsurv

Survival curves with ggplot2
mapping_string

Aes name
ggally_dot

Plots the Box Plot with Dot
ggmatrix_progress

ggmatrix default progress bar
ggally_denstrip

Plots a tile plot with facets
mapping_swap_x_y

Swap x and y mapping
ggmatrix_gtable

Print ggmatrix object
ggally_blank

Blank
ggally_diagAxis

Internal Axis Labeling Plot for ggpairs
ggally_dot_and_box

Plots either Box Plot or Dot Plots
ggts

Multiple Time Series
ggally_facethist

Plots the Histograms by Faceting
ggally_facetdensitystrip

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

Text Plot
ggally_smooth

Plots the Scatter Plot with Smoothing
ggally_nostic_resid

ggnostic - residuals
ggduo

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

ggnostic - fitted value standard error
ggfacet

ggfacet - single ggplot2 plot matrix with facet_grid
ggcoef

ggcoef - Plot Model Coefficients with broom and ggplot2
glyphplot

Glyph plot class
is_horizontal

Check if plot is horizontal
is_date

Check if object is a date
ggpairs

ggpairs - A ggplot2 generalized pairs plot
ggnet

ggnet - Plot a network with ggplot2
pigs

United Kingdom Pig Production
plot_types

Plot Types
ggnet2

ggnet2 - Plot a network with ggplot2
ggparcoord

ggparcoord - A ggplot2 Parallel Coordinate Plot
ggcorr

ggcorr - Plot a correlation matrix with ggplot2
ggnetworkmap

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

Model term names
lowertriangle

lowertriangle - rearrange dataset as the preparation of ggscatmat function
scatmat

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

Order axis variables
nasa

Data from the Data Expo JSM 2006.
ggnostic

ggnostic - Plot matrix of statistical model diagnostics
print_if_interactive

Print if not CRAN
mapping_color_to_fill

Aesthetic Mapping Color Fill
psychademic

UCLA canonical correlation analysis data
v1_ggmatrix_theme

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

Wrap a function with different parameter values
scag_order

Find order of variables
happy

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

Rescaling functions
skewness

Sample skewness
print.ggmatrix

Print ggmatrix object
uppertriangle

uppertriangle - rearrange dataset as the preparation of ggscatmat function
twitter_spambots

Twitter spambots
str.ggmatrix

ggmatrix structure
is_blank_plot

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

Get plotting data type
add_ref_boxes

Add reference boxes around each cell of the glyphmap.
find_plot_type

Find Plot Types
brew_colors

RColorBrewer Set1 colors
add_and_overwrite_aes

Add new aes
broomify

Broomify a model
column_is_character

Get vector of variable types from data frame
add_ref_lines

Add reference lines for each cell of the glyphmap.
ggally_box

Plots the Box Plot
get_x_axis_labels

Get x axis labels
eval_data_col

Evaluate data column
fn_switch

Function switch
ggally_densityDiag

Plots the Density Plots by Using Diagonal
ggally_density

Plots the Scatter Density Plot
flea

Historical data used for classification examples.
+.gg

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

getPlot
ggally_cor

Correlation from the Scatter Plot
ggally_barDiag

Plots the Bar Plots by Using Diagonal
australia_PISA2012

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