Skip to Main Content

CRIJ/POSC/SOCI/SOCW 3362: Statistics for the Social Sciences

Statistics for the Social Sciences: Finding datasets and scholarly research articles.

Resources for Getting Started with R and R Studio

Resources on R for this Course

YaRrr! The Pirate's Guide to R by Nathaniel D. Phillips

  • An introduction to the basic analytical tools in R, from basic coding and analyses, to data wrangling, plotting, and statistical inference.

An Introduction to Political and Social Analysis Using R by Thomas M. Holbrook

  • This book provides students with a comprehensive and accessible overview of important issues related to political and social data analysis, wile also providing a gentle introduction to using the R programming environment to address those issues.

R Workflow article by Frank E. Harrell, Jr.

  • Covers how to use R effectively all the way from importing data to analysis and making use of RStudio's Quarto for making reproducible reports with R and other language. This article also provides an overview of R Workflow for Reproducible Data Analysis and Reporting by the same author, which contains best practices in reproducible data documentation and manipulation, statistical analysis, graphics, and reporting.

R Tutorials and Resources:  Getting Started with R

  • This page has links to other webpages with tutorials on learning how to use R. There are also links to other topics related to R.

R Resources from ReMInDeRY

  • Has some additional resources for installing R and RStudio on your computer, and developing your expertise with R.

Learn R by Martin Morris

  • This research guide from McGill University focuses on R's manipulation and cleaning functions to help you get your data into the right shape and format for running smooth analyses.

Statquest!! Video Index by Josh Starmer

  • The Video Index page contains links to playlists and individual videos on such topics as Statistics, Statistical Tests, and Statistics in R. The videos in each category are organized from basic concepts to complicated concepts.

SimpleR -- Using R for Introductory Statistics by John Verzani

  • According to the author:  "these notes are an introduction to using the statistical software package R for an introductory statistics course. They are meant to accompany an introductory statistics book .... The goals are not to show all the features of R, or to replace a standard textbook, but rather to be used with a textbook to illustrate the features of R that can be learned in a one-semester, introductory statistics course."

An Introduction to R by Alex Douglas, Dean Roos, Francesca Mancini, Ana Couto & David Lusseau

  • "The aim of this book is to introduce you to using R, a powerful and flexible interactive environment for statistical computing and research."

Quick R by Rob Kabacoff of Datacamp

  • Provides a roadmap and the code necessary to get started programming with the R programming language.

R for Epidemiology by Brad Cannell and Melvin Livingston. While geared toward epidemiologic research, this book has chapters on:

Beginner's Guide to R from Computerworld is a series of articles by Sharon Machlis on learning to use R. The articles include:

Posit Cheatsheets is a series of cheatsheets that make it easy to use several R packages.

How to Install R and RStudio

R is a language and software environment for statistical computing and graphics. It provides a wide variety of statistical and graphical techniques. R is available as a free software, which runs on Linux, MacOS and Windown. You can download R from the Comprehensive R Archive Network (CRAN), part of The R Project for Statistical Computing.

RStudio is an integrated development environment (IDE) for R and Python. It includes a console, syntax-highlighting editor that supports direct code execution, and tools for plotting, history, debugging, and workspace management. It is available as an open source edition and runs in Windows, MacOS, and Linus environments. You can download RStudio from the POSIT website.

This helpful YouTube video talking you through downloading R and RStudio:

Installing R on Your Machine has step-by-step instructions on how to install R and RStudio Desktop on Windows and MacOS. It also has instructions for installing R Kernel on Jupyter Notebook for both Windows and MacOS.

Once you've installed RStudio, Descriptive Statistics and an Overview of RStudio (about 6 minutes) will get help get you started using RStudio

 

Books on Statistics, R, and RStudio