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 →

Welcome to CRJ 504

Categories: announcement

Welcome to CRJ 504! I am looking forward to meeting everyone. Please note that there is no class Monday, August 27th, as I will be out of town at a conference. I have created a website for this course at http://crj504.bryer.org/. You will find the syllabus and schedule there. Before our first class, please do the following:

  1. Complete this brief survey (your responses are anonymous): https://excelsior.eu.qualtrics.com/jfe/form/SV_2498pg03yVftSoB

  2. Review the course syllabus: http://crj504.bryer.org/syllabus/

  3. Review chapter one of the text book.

  4. Try to install R and RStudio. Instructions are located here: http://crj504.bryer.org/2018/08/installing-r/ If you have issues, we can resolve them during the first class.

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 →