Articles by

New Color Palette for R

May 22, 2019 |

As I was preparing some graphics for a presentation recently, I started digging into some of the different color palette options. My motivation was entirely about creating graphics that weren't too visually overwhelming, which I found the default "rain... [Read more...]

Statistics Sunday: Creating a Stacked Bar Chart for Rank Data

January 27, 2019 |

Stacked Bar Chart for Rank Data At work on Friday, I was trying to figure out the best way to display some rank data. What I had were rankings from 1-5 for 10 factors considered most important in a job (such as Salary, Insurance Benefits, and the Opportunity to Learn), meaning ...
[Read more...]

Statistics Sunday: Introduction to Regular Expressions

November 25, 2018 |

In my last Statistics Sunday post, I briefly mentioned the concept of regular expressions, also known as regex (though note that in some contexts, these refer to different things - see here). A regular expression is a text string, which you ask your program to match. You can use this ...
[Read more...]

Statistics Sunday: Some Psychometric Tricks in R

October 14, 2018 |

Statistics Sunday: Some Psychometrics Tricks in R It's been a long time since I've posted a Statistics Sunday post! Now that I'm moved out of my apartment and into my house, I have a bit more time on my hands, but work has been quite busy. Today, I'm preparing for 2 ...
[Read more...]

Statistics Sunday: What Should I Read Next?

September 16, 2018 |

When You Need a New Book to Read I log all of my books on Goodreads. On top of that, whenever I hear about a new book I have to read, I add it on Goodreads, so I remember it. Of course, this means my Goodreads bookshelves are a little ... [Read more...]

Statistics Sunday: Visualizing Regression

August 27, 2018 |

Statistics Sunday: Visualizing Regression I had some much needed downtime this weekend, after an exhausting week, along with some self-care - Saturday I had a one-hour deep tissue massage, which left me a little bruised but much more relaxed, and Sunday I spent a few hours in the salon chair ...
[Read more...]

Topics and Categories in the Russian Troll Tweets

August 17, 2018 |

Topics and Categories in the Russian Troll Tweets I decided to return to the analysis I conducted for the IRA tweets dataset. (You can read up on that analysis and R code here.) Specifically, I returned to the LDA results, which looked like they lined up pretty well with the ...
[Read more...]

Statistics Sunday: Getting Started with the Russian Tweet Dataset

August 12, 2018 |

IRA Tweet Data You may have heard that two researchers at Clemson University analyzed almost 3 millions tweets from the Internet Research Agency (IRA) - a "Russian troll factory". In partnership with FiveThirtyEight, they made all of their data available on GitHub. So of course, I had to read the files ...
[Read more...]

Statistics Sunday: Highlighting a Subset of Data in ggplot2

August 7, 2018 |

Highlighting Specific Cases in ggplot2 Here's my belated Statistics Sunday post, using a cool technique I just learned about: gghighlight. This R package works with ggplot2 to highlight a subset of data. To demonstrate, I'll use a dataset I analyzed for a previous post about my 2017 reading habits. [Side note: ...
[Read more...]

Statistics Sunday: Mixed Effects Meta-Analysis

July 8, 2018 |

As promised, how to conduct mixed effects meta-analysis in R:Code used in the video is available here. And I'd recommend the following posts to provide background for this video:What is meta-analysis?Introduction to effect sizesVariance and weights in ... [Read more...]

Thanks for Reading!

June 22, 2018 |

As I've been blogging more about statistics, R, and research in general, I've been trying to increase my online presence, sharing my blog posts in groups of like-minded people. Those efforts seem to have paid off, based on my view counts over the past ...
[Read more...]

Working with Your Facebook Data in R

June 14, 2018 |

How to Read in and Clean Your Facebook Data - I recently learned that you can download all of your Facebook data, so I decided to check it out and bring it into R. To access your data, go to Facebook, and click on the white down arrow in the ...
[Read more...]
1 2 3

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)