2953 search results for "ggplot"

First Thoughts on Automatically Generating Accessible Text Descriptions of ggplot Charts in R

April 29, 2016
By
First Thoughts on Automatically Generating Accessible Text Descriptions of ggplot Charts in R

In a course team accessibility briefing last week, Richard Walker briefly mentioned a tool for automatically generating text descriptions of Statistics Canada charts to support accessibility. On further probing, the tool, created by Leo Ferres, turned out to be called iGraph-Lite: … an extensible system that generates natural language descriptions of statistical graphs, particularly those

Read more »

(ggplot2) Exercising with (ggalt) dumbbells

April 17, 2016
By
(ggplot2) Exercising with (ggalt) dumbbells

I follow the most excellent Pew Research folks on Twitter to stay in tune with what’s happening (statistically speaking) with the world. Today, they tweeted this excerpt from their 2015 Global Attitudes survey: The age gap in social media use around the world https://t.co/0Dq1PcbExG pic.twitter.com/9HBM7gLxwR— PewResearch Internet (@pewinternet) April 17, 2016 I thought it might... Continue reading →

Read more »

Plotting App for ggplot2

April 5, 2016
By
2016-04-06 18_27_39-Clipboard

Through this post, I would like to share an update to my RTutoR package. The first version of this package included an R Basics Tutorial App which I published earlier at DataScience+ The updated version of this package, which is now on CRAN, includes a plotting app. This app provides an automated interface for generating Plotting App for...

Read more »

WVPlots: example plots in R using ggplot2

April 1, 2016
By
WVPlots: example plots in R using ggplot2

Nina Zumel and I have been working on packaging our favorite graphing techniques in a more reusable way that emphasizes the analysis task at hand over the steps needed to produce a good visualization. The idea is: we sacrifice some of the flexibility and composability inherent to ggplot2 in R for a menu of prescribed … Continue reading...

Read more »

An awesome RStudio addin for selecting colours, and another for adding marginal density plots to ggplot2

March 30, 2016
By
An awesome RStudio addin for selecting colours, and another for adding marginal density plots to ggplot2

TL;DR: There’s a colour picker addin in shinyjs and a ggplot2 marginal plots addin in ggExtra. Any R user who hasn’t been spending the past 2 months under a rock should know by now about RStudio’s new exciting features: addins and gadgets. (In case you don’t know, here’s a summary: Gadgets are simply Shiny apps that return a value,...

Read more »

ggnetwork: Network geometries for ggplot2

ggnetwork: Network geometries for ggplot2

This note is a shameless plug demo of the ggnetwork package, which provides several geoms to plot network objects with ggplot2, and which just got published on CRAN. See the package vignette for a more detailed guide to its functionalities. Our example data is the most recent version of the Icelandic legal code, which is available

Read more »

Seasonal decomposition in the ggplot2 universe with ggseas

March 27, 2016
By
Seasonal decomposition in the ggplot2 universe with ggseas

The ggseas package for R, which provides convenient treatment of seasonal time series in the ggplot2 universe, was first released by me in February 2016 and since then has been enhanced several ways. The latest version, 0.4.0, is now on CRAN. The improvements since I last blogged about ggseas include: added the convenience function tsdf() to convert a...

Read more »

embed images in ggplot2 via subview and annotate a phylogenetic tree with images using inset function

March 19, 2016
By
embed images in ggplot2 via subview and annotate a phylogenetic tree with images using inset function

I extended the subview function to support embed image file in a ggplot object. set.seed(123) d = data.frame(x=rnorm(10), y=rnorm(10)) imgfile <- tempfile(, fileext=".png") download.file("https://avatars1.githubusercontent.com/u/626539?v=3&u=e731426406dd3f45a73d96dd604bc45ae2e7c36f&s=140", destfile=imgfile, mode='wb') p = ggplot(d, aes(x, y)) subview(p, imgfile, x=d$x, y=d$y) + geom_point(size=5) In previous post, I have introduced using annotation_image function for annotating tips...

Read more »

Using ProPublica “statefaces” in ggplot2

March 19, 2016
By
Using ProPublica “statefaces” in ggplot2

I’m a huge fan of ProPublica. They have a super-savvy tech team, great reporters, awesome graphics folks and excel at data-driven journalism. Plus, they give away virtually everything, including data, text, graphics & tools. I was reading @USATODAY’s piece on lead levels in drinking water across America and saw they had a mini-interactive piece included

Read more »

Variography with gstat and ggplot2

March 18, 2016
By
Variography with gstat and ggplot2

Last year I wrote a short demo on variography with gstat and ggplot2 for a colleague who was planning to migrate to R. Just thought I’d share this here (with some additional stuff) as it might be useful for other people as well.First, make sure you have the necessary packages installed and loaded:require('gstat')## Loading required package: gstatrequire('sp')## Loading required package: sprequire('ggplot2')## Loading...

Read more »

Sponsors

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)