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.3.2

License

GPL (>= 2.0)

Issues

Pull Requests

Stars

Forks

Last Published

August 2nd, 2017

Functions in GGally (1.3.2)

brew_colors

RColorBrewer Set1 colors
broomify

Broomify a model
add_ref_lines

Add reference lines for each cell of the glyphmap.
australia_PISA2012

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

Add new aes
add_ref_boxes

Add reference boxes around each cell of the glyphmap.
column_is_character

Get vector of variable types from data frame
find_plot_type

Find Plot Types
flea

Historical data used for classification examples.
fn_switch

Function switch
getPlot

getPlot
get_x_axis_labels

Get x axis labels
ggally_dot_and_box

Plots either Box Plot or Dot Plots
ggally_facetbar

Plots the Bar Plots Faceted by Conditional Variable
ggally_nostic_line

ggnostic -background line with geom
ggally_nostic_resid

ggnostic - residuals
ggally_densityDiag

Plots the Density Plots by Using Diagonal
ggally_denstrip

Plots a tile plot with facets
ggally_facethist

Plots the Histograms by Faceting
ggally_blank

Blank
ggally_box

Plots the Box Plot
ggally_facetdensity

Plots the density plots by faceting
ggally_facetdensitystrip

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

ggnostic - standardized residuals
ggally_points

Plots the Scatter Plot
ggnetworkmap

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

NA plot
ggally_nostic_se_fit

ggnostic - fitted value standard error
ggally_nostic_sigma

ggnostic - leave one out model sigma
ggnet

ggnet - Plot a network with ggplot2
ggfacet

ggfacet - single ggplot2 plot matrix with facet_grid
gglegend

Plot only legend of plot function
ggpairs

ggpairs - A ggplot2 generalized pairs plot
ggparcoord

ggparcoord - A ggplot2 Parallel Coordinate Plot
+.gg

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

Plots the Bar Plots by Using Diagonal
ggally_diagAxis

Internal Axis Labeling Plot for ggpairs
ggally_dot

Plots the Box Plot with Dot
ggnet2

ggnet2 - Plot a network with ggplot2
glyphs

Create the data needed to generate a glyph plot.
ggally_ratio

Plots a mosaic plot
ggally_smooth

Plots the Scatter Plot with Smoothing
ggmatrix

ggmatrix - A ggplot2 Matrix
ggmatrix_gtable

Print ggmatrix object
ggnostic

ggnostic - Plot matrix of statistical model diagnostics
ggscatmat

ggscatmat - a traditional scatterplot matrix for purely quantitative variables
ggsurv

Survival curves with ggplot2
nasa

Data from the Data Expo JSM 2006.
grab_legend

Grab the legend and print it as a plot
plot_types

Plot Types
plotting_data_type

Get plotting data type
singleClassOrder

Order axis variables
skewness

Sample skewness
pigs

United Kingdom Pig Production
psychademic

UCLA canonical correlation analysis data
putPlot

Put Plot
ggts

Multiple Time Series
glyphplot

Glyph plot class
is_date

Check if object is a date
lowertriangle

lowertriangle - rearrange dataset as the preparation of ggscatmat function
uppertriangle

uppertriangle - rearrange dataset as the preparation of ggscatmat function
v1_ggmatrix_theme

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

Print ggmatrix object
print_if_interactive

Print if not CRAN
scag_order

Find order of variables
scatmat

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

Correlation from the Scatter Plot
ggally_density

Plots the Scatter Density Plot
ggally_nostic_cooksd

ggnostic - Cook's distance
ggally_nostic_hat

ggnostic - leverage points
require_pkgs

Require packages
rescale01

Rescaling functions
wrap_fn_with_param_arg

Wrap a function with different parameter values
ggally_text

Text Plot
ggcoef

ggcoef - Plot Model Coefficients with broom and ggplot2
ggcorr

ggcorr - Plot a correlation matrix with ggplot2
ggduo

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

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

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

Aesthetic Mapping Color Fill
model_response_variables

Model term names
str.ggmatrix

ggmatrix structure
twitter_spambots

Twitter spambots