Category 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

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

Shape File Selfies in ggplot2

In this post you will learn how to: Create your own quasi-shape file Plot your homemade quasi-shape file in ggplot2 Add an external svg/ps graphic to a plot Change a grid grob's color and alpha *Note get simple .md version … Continue reading

Posted in discourse analysis, ggplot2, Uncategorized, visualization | Tagged , , , , | 1 Comment

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: Part II

In a recent blog post I introduced Stefanie Posavec‘s Sentence Drawings. We created this ggplot2 rendition: We left off weighing the aesthetics of the Sentence Drawing with information of quality visualizations. I asked others to think of ways to display … Continue reading

Posted in animation, discourse analysis, ggplot2, qdap, text, Uncategorized, visualization | Tagged , , , , , , | 1 Comment

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

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

Back in October of last year I wrote a blog post about reordering/rearanging plots. This was, and continues to be, a frequent question on list serves and R help sites. In light of my recent studies/presenting on The Mechanics of … Continue reading

Posted in factor, ggplot2, Uncategorized, visualization, work flow | Tagged , , , , , , , | 10 Comments