THIS COURSE IS NOW READ-ONLY

Dr. Spielman is no longer affiliated with Rowan University.

You can reach Dr. Spielman at stephanie.spielman@gmail.com.

Content below is preserved from Fall 2021, although links to Shiny Apps are mostly dead. Most Shiny Apps live in the ds4b.materials (which is also not well maintained).


This website contains all materials used in BIOL 01301 Fall 2021 at Rowan University with Dr. Spielman. (Are you a former student looking for your semester’s version of this website? Email Dr. Spielman!)

Class Schedule and Materials

Scheduled topics are subject to change up until the week before, depending on class pace. Homeworks will be made available no later than one week in advance of their deadlines.

Link to the {introverse}

All of the colors!!!

Links to short help videos

#tidytuesday instructions

Date Topic In-class materials and other resources Assignment DUE to Canvas by 2 PM
W 9/1 Introduction and class logistics - -
R 9/2 Types of data and figures “Types of data and figures” interactive exercises -
M 9/6 No class: Labor Day - -
W 9/8 Types of data and figures “Types of data and figures” interactive exercises -
R 9/9 Concepts in tidy data Tidy data paper -
M 9/13 Introduction to R and RStudio “Introduction to R” exercises
Introduction to R stand-alone tutorial
-
W 9/15 Introduction to R and RStudio “Introduction to R” exercises Homework 1: Identifying data types and figures
Link to Instructions
Link to Answer Sheet
R 9/16 Exercise Recap and Introduction to RMarkdown Rmarkdown activity -
M 9/20 The grammar of graphics, Part 1 Slides -
W 9/22 The grammar of graphics, Part 2
Homework 1 Review
Same slides as Monday 9/20 HW2 DEADLINE POSTPONED TO FRIDAY 9/24/21 - SEE CANVAS ANNOUNCEMENT
Homework 2: Using R and RMarkdown
Link to Instructions
Starting and submitting HW2 video
Additonal (important!) help videos

ALSO: watch/follow this video to setup RStudio Cloud/Github and complete Canvas assignment: “Proof of RStudio Cloud/Github Setup”
R 9/23 Open work day -
M 9/27 Introduction to ggplot2 Reference slides
In-class script: Intro to ggplot2 (Upload this to your RStudio Cloud project to open it)
-
W 9/29 More ggplot2 Sets 1-5 of “Introduction to ggplot2” exercises
“Line-by-line” application
In-class script: More ggplot2 (Upload this to your RStudio Cloud project to open it)
Homework 3: Grammar of Graphics
Link to Instructions
Link to Answer Sheet
R 9/30 Open work day -
M 10/4 Best practices in data visualization Slides Nothing due today, but watch Part 6 “Calling Bullshit” for Wednesday
W 10/6 Critiquing data viz
Customizing your plots in ggplot2
In-class script: Facets and palettes Watch Part 6 video playlist (~1 hour) from “Calling Bullshit”:
Link from “Calling Bullshit” class website
Direct YouTube link

Homework 4: Data visualization with ggplot2
Link to Instructions
R 10/7 Introduction to exploratory data analysis In-class activity Background reading: “A hypothesis is a liability”
M 10/11 Reading and writing data Reference: reading and writing data and saving figures
Download in-class activity
Background reading: “FILE NOT FOUND”
W 10/13 Reading and writing data
Introduction to data wrangling with dplyr and tidyr
See Canvas for spreadsheet links
In-class activity from Monday continued
Homework 5: Exploratory data analysis with ggplot2
Link to instructions
R 10/14 Data wrangling with dplyr and tidyr II In-class dplyr script from W 10/13- R 10/14 -
M 10/18 Data wrangling with dplyr and tidyr III Introduction to dplyr exercises Set 1 -
W 10/20 Introducing #tidytuesday extra credit
Data wrangling with dplyr and tidyr IV
Introduction to dplyr exercises Sets 1-3 Homework 6: Introduction to data wrangling and visualization
Link to instructions
R 10/21 Data wrangling with dplyr and tidyr V Introduction to dplyr exercises Sets 2-3 -
M 10/25 Data wrangling with dplyr and tidyr VI Introduction to dplyr exercises Sets 2-3 -
W 10/27 Exploratory analysis II Peer review plots -
R 10/28 Open work day Resource: Modifying figure sizes Homework 7: More data wrangling and visualization due FRIDAY 10/29 at 11:59 PM
Link to instructions
M 11/1 Data reshaping (“pivoting”) with tidyr I HW1 tidy data redux -
W 11/3 Data reshaping (“pivoting”) with tidyr II In-class activity: Let’s do HW9! Homework 8: Exploratory analysis of coffee ratings
Link to instructions
R 11/4 Introduction to machine learning Slides -
M 11/8 Linear modeling I Same slides as R 11/3
RMarkdown activity: linear_modeling
-
W 11/10 Linear modeling II Same slides/activity Homework 9: Data reshaping with tidyr
Link to instructions
R 11/11 Linear modeling III Same slides/activity
M 11/15 Introduction to logistic regression Slides -
W 11/17 Logistic regression II RMarkdown activity: logistic_regression Homework 10: Linear modeling
Link to instructions
R 11/18 Logistic regression III Same slides/activity -
M 11/22 Introduction to UNIX I Cheatsheet -
W 11/24 CLASS IS OVER ZOOM TODAY!!
Introduction to Final Project
Link to proposal and project instructions
Link to proposal Rmd template
Homework 11: Logistic regression
Link to instructions
R 11/25 No class: Thanksgiving -
M 11/29 Introduction to git and GitHub Cheatsheet
Graphical Cheatsheet
-
W 12/1 git and GitHub, continued - Homework 12: Final Project Proposal. This homework may NOT be dropped.
(The below links are the same as those shown on 11/24)
Link to instructions
Link to Rmd template
R 12/2 Final Project Setup - -
M 12/6 Open Work: Final Project - -
W 12/8 Optional Grabbag!
How to make your own website
Setting up R/RStudio on your computer
Statistical tests in R
- -

Final project due Tuesday December, 14th by 11:59 PM. Link to instructions