1962 search results for "Ggplot2"

R + ggplot2 Graph Catalog

February 3, 2015
By
R + ggplot2 Graph Catalog

Joanna Zhao’s and Jenny Bryan’s R graph catalog is meant to be a complement to the physical book, Creating More Effective Graphs, but it’s a really nice gallery in its own right. The catalog shows a series of different data visualizations, all made with R and ggplot2. Click on any of the plots and you get the...

Read more »

How to format your chart and axis titles in ggplot2

January 13, 2015
By
How to format your chart and axis titles in ggplot2

Once you know how to create simple plots you’ll want to learn how to design more sophisticated plots. A large part of being able to design sophisticated plots is having control over the “non-data elements” of the plot, such as the plot title and axis titles.You want to be able to format those and polish The post

Read more »

ggplot2 updates

January 9, 2015
By
ggplot2 updates

ggplot2 1.0.0 As you might have noticed, ggplot2 recently turned 1.0.0. This release incorporated a handful of new features and bug fixes, but most importantly reflects that ggplot2 is now a mature plotting system and it will not change significantly in the future. This does not mean ggplot2 is dead! The ggplot2 community is rich

Read more »

Plot with ggplot2 and plotly within knitr reports

December 30, 2014
By
Plot with ggplot2 and plotly within knitr reports

Plotly is a platform for making, editing, and sharing graphs. If you are used to making plots with ggplot2, you can call ggplotly() to make your plots interactive, web-based, and collaborative. For example, see plot.ly/~marianne2/166, shown below. Notice the hover text! The “plotly” R package lets you use plotly with R. Want to...

Read more »

Animations and GIFs using ggplot2

December 26, 2014
By
Animations and GIFs using ggplot2

Tracing a regression lineDiverging density plotsHappy New Year plot Happy New Year everyone! For the last post of the year, I thought I'd have a little fun with the new animation package in R. It's actually really easy to use. I recently had some fun w...

Read more »

My Commonly Done ggplot2 graphs: Part 2

December 18, 2014
By
My Commonly Done ggplot2 graphs: Part 2

In my last post I described some of my commonly done ggplot2 graphs. It seems as though some people are interested in these, so I was going to follow this up with other plots I make frequently. Scatterplot colored by continuous variable The setup of the data for the scatterplots will be the same as

Read more »

Interactive 2D & 3D Plots with Plotly and ggplot2

December 16, 2014
By
Interactive 2D & 3D Plots with Plotly and ggplot2

by Matt Sundquist co-founder of Plotly R, Plotly, and ggplot2 let you make, share, and collaborate on beautiful, interactive plots online. Let's see what we can do with the topographic data from Auckland's Maunga Whau Volcano that comes with R. Copy and paste this R code to make your first plot. The basic idea is: use ggplot2 code, add...

Read more »

Don’t teach built-in plotting to beginners (teach ggplot2)

December 15, 2014
By
Don’t teach built-in plotting to beginners (teach ggplot2)

I have some experience teaching R programming (see, for instance, my online course). One of the atypical choices I make is to start by teaching Hadley Wickham’s ggplot2 package, rather than the built-in R plotting (see these videos). Many times that I mention this choice to others involved in statistics education, they treat it like a mistake...

Read more »

3D Plots with ggplot2 and Plotly

November 11, 2014
By
3D Plots with ggplot2 and Plotly

by Matt Sundquist Plotly, co-founder Plotly is a platform for data analysis, graphing, and collaboration. You can use ggplot2, Plotly's R API, and Plotly's web app to make and share interactive plots. Now, you can you can also make 3D plots. Immediately below are a few examples of 3D plots. In this post we will show how to make...

Read more »

ggplot2: Elegant Graphics for Data Analysis

November 5, 2014
By

ggplot2 is a plotting system for R, based on the grammar of graphics by Hadley Wickham. ggplot2 tries to take the good parts of base and lattice graphics and none of the bad parts. As a contributor to the package, Dr. Dennis Murphy was able to paint a clear picture on how ggplot2 takes care of many of the fiddly...

Read more »