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

96,464

Version

1.3.0

License

GPL (>= 2.0)

Issues

Pull Requests

Stars

Forks

Maintainer

Barret Schloerke

Last Published

November 13th, 2016

Functions in GGally (1.3.0)

flea

Historical data used for classification examples.
fn_switch

Function switch
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.
brew_colors

RColorBrewer Set1 colors
broomify

Broomify a model
ggally_blank

Blank
column_is_character

Get vector of variable types from data frame
find_plot_type

Find Plot Types
+.gg

Modify a ggmatrix object by adding an ggplot2 object to all plots
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_se_fit

ggnostic - fitted value standard error
ggally_densityDiag

Plots the Density Plots by Using Diagonal
ggally_denstrip

Plots a tile plot with facets
ggally_nostic_cooksd

ggnostic - Cook's distance
ggally_nostic_hat

ggnostic - leverage points
ggally_nostic_sigma

ggnostic - leave one out model sigma
ggts

Multiple Time Series
glyphplot

Glyph plot class
is_date

Check if object is a date
getPlot

getPlot
get_x_axis_labels

Get x axis labels
ggally_nostic_line

ggnostic -background line with geom
ggally_nostic_resid

ggnostic - residuals
ggfacet

ggfacet - single ggplot2 plot matrix with facet_grid
gglegend

Plot only legend of plot function
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
ggally_cor

Correlation from the Scatter Plot
ggally_density

Plots the Scatter Density Plot
ggally_facethist

Plots the Histograms by Faceting
ggally_na

NA plot
ggally_ratio

Plots a mosaic plot
lowertriangle

lowertriangle - rearrange dataset as the preparation of ggscatmat function
wrap_fn_with_param_arg

Wrap a function with different parameter values
ggally_nostic_std_resid

ggnostic - standardized residuals
ggally_points

Plots the Scatter Plot
ggcorr

ggcorr - Plot a correlation matrix with ggplot2
ggduo

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

ggpairs - A ggplot2 generalized pairs plot
ggparcoord

ggparcoord - A ggplot2 Parallel Coordinate Plot
nasa

Data from the Data Expo JSM 2006.
pigs

United Kingdom Pig Production
skewness

Sample skewness
str.ggmatrix

ggmatrix structure
print.ggmatrix

Print ggpair object
print_if_interactive

Print if not CRAN
rescale01

Rescaling functions
scag_order

Find order of variables
ggally_diagAxis

Internal Axis Labeling Plot for ggpairs
ggally_dot

Plots the Box Plot with Dot
ggally_text

GGplot Text
ggcoef

ggcoef - Plot Model Coefficients with broom and ggplot2
ggally_smooth

Plots the Scatter Plot with Smoothing
ggnet

ggnet - Plot a network with ggplot2
ggnet2

ggnet2 - Plot a network with ggplot2
ggscatmat

ggscatmat - a traditional scatterplot matrix for purely quantitative variables
ggally_barDiag

Plots the Bar Plots by Using Diagonal
ggally_dot_and_box

Plots either Box Plot or Dot Plots
ggally_facetbar

Plots the Bar Plots Faceted by Conditional Variable
ggmatrix

ggmatrix - A ggplot2 Matrix
ggnetworkmap

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

ggnostic - Plot matrix of statistical model diagnostics
glyphs

Create the data needed to generate a glyph plot.
grab_legend

Grab the legend and print it as a plot
plot_types

Plot Types
plotting_data_type

Get plotting data type
scatmat

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

Survival curves with ggplot2
putPlot

Put Plot
require_pkgs

Require packages
ggmatrix_gtable

Print ggpair object
mapping_color_to_fill

Aesthetic Mapping Color Fill
model_response_variables

Model term names
twitter_spambots

Twitter spambots
singleClassOrder

Order axis variables
uppertriangle

uppertriangle - rearrange dataset as the preparation of ggscatmat function