Tag Archives: ggplot2

ggplot2: How Geoms & Aesthetics ≈ Whipped Cream

In this post I have a few goals: 1. Become (re-)familiar with available geoms 2. Become (re-)familiar with aesthetic mappings in geoms (stroke who knew?) 3. Answer these questions: How often do various geoms appear and how often do they … Continue reading

Posted in analysis, data, ggplot2, r, tidyverse, trinker, tylerrinker, Uncategorized | Tagged , , , , , | 10 Comments

Math Notation for R Plot Titles: expression, bquote, & Greek Letters

In this post you will learn: How to create expressions that have mixed (1) strings, (2) expressions, (3) variables & (4) Greek letters How to pass in values as variables to an expression I wanted to name this post “Ahhhhhhhhhhh #$@%&!!!!” … Continue reading

Posted in ggplot2, plot, r, trinker, tylerrinker, visualization, work flow | Tagged , , , , , , , , , , | 4 Comments

Ordering Categories within ggplot2 Facets

I saw Simon Jackson’s recent blog post regarding ordering categories within facets. He proposed a way of dealing with the problem of ordering variables shared across facets within facets. This problem becomes apparent in text analysis where words are shared … Continue reading

Posted in ggplot2, r, text, tidytext, tidyverse, tylerrinker, visualization | Tagged , , , , , | 14 Comments

googleformr at Work: Pneumatic Road Tube Allegory

Steve Simpson (@data_steve) created the googleformr package to enable users to easily send information to a Google Form.  It’s a nice way to send and securely store data via R and the price is great…FREE! A Pneumatic Road Tube Allegory…Kinda … Continue reading

Posted in analysis, r, work flow | Tagged , , , , , , | 8 Comments

How do I re-arrange??: Ordering a plot re-revisited

Several years back I wrote a two part blog series in response to seeing questions about plotting and reordering on list serves, talkstats.com, and stackoverflow.  Part I discussed the basics of reordering plots by reordering factor levels.  The essential gist was: … Continue reading

Posted in factor, ggplot2, r, visualization | Tagged , , , , | 4 Comments

Visualizing APA 6 Citations: qdapRegex 0.2.0 & qdapTools 1.1.0

qdapRegex 0.2.0 & qdapTools 1.1.0 have been released to CRAN.  This post will provide some of the packages’ updates/features and provide an integrate demonstration of extracting and viewing in-text APA 6 style citations from an MS Word (.docx) document. qdapRegex … Continue reading

Posted in ggplot2, qdap, r, regular expression | Tagged , , , , , , , , , , | 2 Comments

GTrendsR package to Explore Google trending for Field Dependent Terms

My friend, Steve Simpson, introduced me to Philippe Massicotte and Dirk Eddelbuettel’s GTrendsR GitHub package this week. It’s a pretty nifty wrapper to the Google Trends API that enables one to search phrase trends over time. The trend indices that … Continue reading

Posted in r | Tagged , , , , , , , | 23 Comments

Sochi Olympic Medals

For those who are addicted to R and haven’t the time to click the mouse on a web browser you too can still be informed about the results of the 2014 Sochi Winter Olympics. I was inspired by a SO … Continue reading

Posted in data, ggplot2, reshape, Uncategorized, visualization | Tagged , , , , | 19 Comments

Sentence Drawing: Function vs. Art

I recently was reading the book “Functional Art” and came across the work of Stefanie Posavec. Her Sentence Drawings (click here to see and click here to learn) caught my attention. Here is a ggplot2 rendition: From what I understand … Continue reading

Posted in discourse analysis, ggplot2, text, Uncategorized, visualization | Tagged , , , , , , , , , , | 8 Comments

ggplot2 Choropleth of Supreme Court Decisions: A Tutorial

I don't do much GIS but I like to. It's rather enjoyable and involves a tremendous skill set. Often you will find your self grabbing data sets from some site, scraping, data cleaning and reshaping, and graphing. On the ride … Continue reading

Posted in data, ggplot2, reports, Uncategorized, visualization | Tagged , , , , , , , , | 31 Comments