2862 search results for "ggplot"

ggplot2 themes examples

August 19, 2016
By
ggplot2 themes examples

This short post is exactly what it seems: a showcase of all ggplot2 themes available within the ggplot2 package. I was doing such a list for myself (you know that feeling …”how would it look like with this theme? let’s try this one…”) and at the end I thought it could have be useful for Related Post

Read more »

Plotting background data for groups with ggplot2

August 11, 2016
By
Plotting background data for groups with ggplot2

This tweet by mikefc alerted me to a mind-blowingly simple but amazing trick using the ggplot2 package: to visualise data for different groups in a facetted plot with all of the data plotted in the background. Here’s an example that we’ll learn to make in this post so you know what I’m talking about:

Read more »

Plot some variables against many others with tidyr and ggplot2

July 29, 2016
By
Plot some variables against many others with tidyr and ggplot2

Want to see how some of your variables relate to many others? Here’s an example of just this: library(tidyr) library(ggplot2) mtcars %>% gather(-mpg, -hp, -cyl, key = "var", value = "value") %>% ggplot(aes(x = value, y = mpg, color = hp, shape = factor(cyl))) + geom_point() + facet_wrap(~ var, scales =...

Read more »

A Gallery of ggplot2 Extensions

July 28, 2016
By
A Gallery of ggplot2 Extensions

A couple of months ago, I announced the ggplot2-extensions website which tracks and lists extensions built on top of the popular R visualization package ggplot2. Now, I wanted to make it even easier for R users to filter and search for these extensions and so I have added a Gallery page. You can now search

Read more »

Line plot for two-way designs using ggplot2

July 24, 2016
By
Line plot for two-way designs using ggplot2

Want to use R to plot the means and compare differences between groups, but don’t know where to start? This post is for you. As usual, let’s start with a finished example: library(dplyr) library(ggplot2) pd <- position_dodge(width = 0.2) mtcars %>% mutate(cyl = factor(cyl), am = factor(am, labels = c("automatic", "manual"))) %>% group_by(cyl, am) %>% summarise(hp_mean =...

Read more »

Using 2D Contour Plots within {ggplot2} to Visualize Relationships between Three Variables

July 24, 2016
By
Using 2D Contour Plots within {ggplot2} to Visualize Relationships between Three Variables

Guest post by John Bellettiere, Vincent Berardi, Santiago Estrada The Goal To visually explore relations between two related variables and an outcome using contour plots. We use the contour function in Base R to produce contour plots that are well-suited for initial investigations into three dimensional data. We then develop visualizations using ggplot2 to gain … Continue...

Read more »

New Course: R Data Visualization with ggplot2 – Part 2

July 13, 2016
By
New Course: R Data Visualization with ggplot2 – Part 2

In our second course on ggplot2 “Data Visualization with ggplot2 (2)”, you will take the step from exploratory to explanatory data visualization. In five chapters, you’ll get to know more ggplot layers and tools needed to create excellent visuals...

Read more »

New Course: R Data Visualization with ggplot2 – Part 1

July 13, 2016
By
New Course: R Data Visualization with ggplot2 – Part 1

Learn how to produce meaningful and beautiful data visualizations with DataCamp’s ggplot2 course series. Be introduced to the principles of good visualizations and the grammar of graphics plotting concept implemented in the ggplot2 package. Learn yo...

Read more »

The Power of ggplot2 in ArcGIS – The Plotting Toolbox

July 11, 2016
By
The Power of ggplot2 in ArcGIS – The Plotting Toolbox

In this post I present my third experiment with R-Bridge. The plotting toolbox is a plug-in for ArcGIS 10.3.x that allows the creation of beautiful and informative plot, with ggplot2, directly from the ESRI ArcGIS console.As always I not only provide t...

Read more »

Bridging The Political [Polygons] Gap with ggplot2

July 7, 2016
By
Bridging The Political [Polygons] Gap with ggplot2

The @pewresearch folks have been collecting political survey data for quite a while, and I noticed the visualization below referenced in a Tableau vis contest entry: Those are filled frequency polygons, which are super-easy to replicate in ggplot2, especially since Pew even kind of made the data available via their interactive visualization (it’s available in... Continue reading →

Read more »

Sponsors

Mango solutions



RStudio homepage



Zero Inflated Models and Generalized Linear Mixed Models with R

Quantide: statistical consulting and training

datasociety

http://www.eoda.de





ODSC

ODSC

CRC R books series





Six Sigma Online Training









Contact us if you wish to help support R-bloggers, and place your banner here.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)