Installing R

Categories: R
In the course we will use the R statistical program to conduct analysis. The current version of R is R version 3.4.4 (2018-03-15). However, we will generally use RStudio to interact with R. Instructions to download and install R and RStudio are provided below. For a brief history of R, check out Nick Thieme’s article, R generation. Below are links to R and RStudio for Windows and Mac. Once downloaded, install these programs.

Read More →

R Cheat Sheet

Categories: r
Exploring with Data str - The structure of the data frame head - The first six rows of the data frame tail - The last six rows of the data frame View - View the data frame in a spreasheet view dim - Dimensions of the data frame nrow - Number of rows in the data frame ncol - Number of columns in the data frame subset - Subset a data frame or vector Descriptive Statistics mean - Mean (or average) sd - Standard deviation median - Median IQR - Inter-quartile range table - Contingency table prop.

Read More →