2836 search results for "ggplot2"

Adding a subtitle to ggplot2

March 14, 2016
By
Adding a subtitle to ggplot2

A couple of days ago (2016-03-12) a short blog post by Bob Rudis appeared on R-bloggers.com, "Subtitles in ggplot2". I was intrigued by the idea and what this could mean for my own plotting efforts, and it turned out to be very simple to apply. (Note that Bob's post originally appeared on his own blog,...

Read more »

ggplot2で字幕 [Subtitles in ggplot2]

March 12, 2016
By
ggplot2で字幕 [Subtitles in ggplot2]

Subtitles aren’t always necessary for plots, but I began to use them enough that I whipped up a function for ggplot2 that does a decent job adding a subtitle to a finished plot object. More than a few folks have tried their hand at this in the past and this is just my incremental contribution

Read more »

ggplot2 2.1.0

March 4, 2016
By
ggplot2 2.1.0

I’m very pleased to announce the release of ggplot2 2.1.0, scales 0.4.0, and gtable 0.2.0. These are set of relatively minor updates that fix a whole bunch of little problems that crept in during the last big update. The most important changes are described below. When mapping an aesthetic to a constant the default guide

Read more »

A Tale of Two Charting Paradigms: Vega-Lite vs R+ggplot2

February 28, 2016
By
A Tale of Two Charting Paradigms: Vega-Lite vs R+ggplot2

This post comes hot off the heels of the nigh-feature-complete release of vegalite (virtually all the components of Vega-Lite are now implemented and just need real-world user testing). I’ve had a few and seen a few questions about “why Vega-Lite”? I think my previous post gave some good answers to “why”. However, Vega-Lite and Vega

Read more »

How I build up a ggplot2 figure

February 19, 2016
By
How I build up a ggplot2 figure

Recently, Jeff Leek at Simply Statistics discussed why he does not use ggplot2. He notes “The bottom line is for production graphics, any system requires work.” and describes a default plot that needs some work: To break down what is going on, here is what R interprets (more or less): Make a container for data

Read more »

Making Faceted Heatmaps with ggplot2

February 14, 2016
By
Making Faceted Heatmaps with ggplot2

We were doing some exploratory data analysis on some attacker data at work and one of the things I was interested is what were “working hours” by country. Now, I don’t put a great deal of faith in the precision of geolocated IP addresses since every geolocation database that exists thinks I live in Vermont

Read more »

Why I use ggplot2

February 12, 2016
By
Why I use ggplot2

If you’ve read my blog, taken one of my classes, or sat next to me on an airplane, you probably know I’m a big fan of Hadley Wickham’s ggplot2 package, especially compared to base R plotting. Not everyone agrees. Among the anti-ggplot2 crowd is JHU Professor Jeff Leek, who yesterday wrote up his thoughts on the Simply Statistics...

Read more »

Plot the new SVG R logo with ggplot2

February 11, 2016
By
Plot the new SVG R logo with ggplot2

High resolution and SVG versions of the new R logo are finally available. I converted the SVG to WKT (file here) which means we can use it like we would a shapefile in R. That includes plotting! Here’s a short example of how to read that WKT and plot the logo using ggplot2: library(sp) library(maptools)

Read more »

The Easiest Way to Learn ggplot2

February 10, 2016
By

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 yourself how to make complex exploratory plots, and be able to make a custom plotting function to explore a large data set, combining...

Read more »

ggseas package for seasonal adjustment on the fly with ggplot2

February 7, 2016
By
ggseas package for seasonal adjustment on the fly with ggplot2

In a post a few months ago I built a new ggplot2 statistical transformation (“stat”) to provide X13-SEATS-ARIMA seasonal adjustment on the fly. With certain exploratory workflows this can be useful, saving on a step of seasonally adjusting many different slices and dices of a multi-dimensional time series during data reshaping, and just drawing it for you...

Read more »

Sponsors

Mango solutions



RStudio homepage



Zero Inflated Models and Generalized Linear Mixed Models with R

Dommino data lab

Quantide: statistical consulting and training



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)