swirl: Learn R, In R
Swirl Resources
Students will learn how to set up a population matrix model in R and use it for demographic analysis of a population, including projecting population growth, determining lambda and the stable age distribution, and conducting an elasticity analysis.
Hardy-Weinberg Equilibrium: a swirl resource
Version: 1.0
Students will use swirl to understand Hardy-Weinberg equilibrium. The lesson starts with observed numbers of individuals for each genotype, and students will work through a number of steps to assess whether or not the population is in equilibrium.
Analyzing Nutrient Simulation Experiments with a one-way ANOVA
Version: 1.0 Adapted From: Conducting Analysis of Variance (ANOVA) in R with swirl v1.0
We discuss what tests are appropriate to analyze the data from nutrient simulation experiments. They will conduct one-way ANOVAs and a post hoc test using a dummy dataset and interpret the results.
Cleaning Data with R and the Tidyverse in Swirl
Version: 1.0
The overall goal is to help students learn common data cleaning procedures on a dataset once they’ve collected measurements and before they are able to start their analysis. This swirl lesson is designed specifically to deal with missing data.
The students will learn to estimate population sizes and consider assumptions of mathematical models and their applicability to the ecology of an organism/population
Graphing grouped continuous data in R with swirl
Version: 1.0
This lesson helps students know some of the options for how to graph grouped continuous data (such as those involved in doing a t-test or ANOVA) and how to choose the best option.
This lesson offers an introduction to ANOVA, including 1) how this statistical test can be differentiated from others and 2) a step-by-step guide to conducting and interpreting ANOVA results in R, including assumption testing and post-hoc analysis.
Interpreting one-factor ANOVA in R with swirl
Version: 1.0
Interpreting One-Factor Analysis of Variance (ANOVA)
Checking Normality in R with swirl
Version: 1.0
How to use the "three-prong" approach to check for normality
One-way ANOVA in R with swirl
Version: 1.0
One-way analysis of variance (ANOVA), following the text in Chapter 5 of Beckerman et al. (2017) Getting started with R: an introduction for biologists, 2nd edition.
Video on analyzing microbiome data in Excel from the Research Experiences in Microbiomes Network
There are two complementary lessons. The first covers how sampling distributions are made and ID's their key properties. The second covers how null distributions and how the test statistic of a dataset and its p-value are visualized on this distribution.
Importing Data into R
Version: 1.0
This short swirl lesson on importing data is designed to 1) get a basic understanding in how tables are read into R and some common issues and 2) develop an individual set of instructions for students to use later to import a table on their own.
Histograms and Boxplots
Version: 1.0
This lesson, created for an introductory ecology course, focuses on helping novice R users to import a data file, apply base R plotting functions, and use R Markdown to generate a reproducible report.
Teaching R with Swirl
Version: 1.0
Session presentation on using Swirl, an interactive platform for learning and teaching R in the R console