2292 search results for "ggplot"

An introduction to ggplot with Myfanwy Johnston

March 15, 2015
By
An introduction to ggplot with Myfanwy Johnston

Last week at the Davis R Users’ Group, Myfanwy Johnston gave an introduction to to the powerful and ubiquitous ggplot2 package for plotting in R. See below for the screencast and her particularly enlightening figure of how ggplot’s syntax and conceptual approach. Myfanwy also placed all her slides, code, and links to more ggplot resources...

Read more »

How to Make a Histogram with ggplot2

March 12, 2015
By
How to Make a Histogram with ggplot2

In our previous post you learned how to make histograms with the hist() function. You can also make a histogram with ggplot2, “a plotting system for R, based on the grammar of graphics”. This post will focus on making a Histogram With ggplot2. Want to learn more? Discover the DataCamp tutorials. Step One. Check That The post

Read more »

Creating composite figures with ggplot2 for reproducible research

March 10, 2015
By
Creating composite figures with ggplot2 for reproducible research

So far, I have been preparing composite figures by plotting the data using ggplot2, and then putting the panels together in OmniGraffle or Adobe Illustrator. Of course, every time the data is updated, I would need to go back to the vector editing progr...

Read more »

Part 3a: Plotting with ggplot2

March 4, 2015
By
Part 3a: Plotting with ggplot2

We will start off this first section of Part 3 with a brief introduction of the plotting system ggplot2. Then, with the attention focused mainly on the syntax, we will create a few graphs, based on the weather data we have prepared previously. Next, in Part 3b, where we will be doing actual EDA, specific visualisations...

Read more »

Tools in Tandem – SQL and ggplot. But is it Really R?

February 28, 2015
By
Tools in Tandem – SQL and ggplot. But is it Really R?

Increasingly I find that I have fallen into using not-really-R whilst playing around with Formula One stats data. Instead, I seem to be using a hybrid of SQL to get data out of a small SQLite3 datbase and into an R dataframe, and then ggplot2 to render visualise it. So for example, I’ve recently been

Read more »

sjPlot package and related online manuals updated #rstats # ggplot

February 5, 2015
By
sjPlot package and related online manuals updated #rstats # ggplot

My sjPlot package for data visualization has just been updated on CRAN. I’ve added some features to existing function, which I want to introduce here. Plotting linear models So far, plotting model assumptions of linear models or plotting slopes for each estimate of linear models were spread over several functions. Now, these plot types have

Read more »

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 »

NASA GISS’s Annual Global Temperature Anomaly Trends (dplyr/ggplot version)

January 18, 2015
By
NASA GISS’s Annual Global Temperature Anomaly Trends (dplyr/ggplot version)

D Kelly O’Day did a great post on charting NASA’s Goddard Institute for Space Studies (GISS) temperature anomaly data, but it sticks with base R for data munging & plotting. While there’s absolutely nothing wrong with base R operations, I thought a modern take on the chart using dplyr, magrittr & tidyr for data manipulation

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 »