Welcome to this excerpt from Practical R for Mass Communication and Journalism. In these sample chapters, you’ll:

  • learn how to find your way around R and RStudio,
  • see how much you can do in just a few lines of code,
  • start doing some basic data exploration, and
  • get some ideas and sample code for using R in analyzing election results.

I hope you find this excerpt useful! If you do and would like to read more, you can order the complete book from CRC Press or Amazon.

Note: This excerpt includes Chapters 1-5 and then skips to Chapter 12. If you want to read the chapters in order, I suggest that after you finish Chapter 5, you go straight to Chapter 12 via the left navigation column (otherwise, you’d have to keep clicking right arrows in order to pass through the missing chapters).

You can find me on Mastodon at @smach@masto.machlis.com. I'm not currently active on Twitter.