BIO 5150L Resources and Tutorials

Download a .R script organization template

  • You can download and then use this template as a starting point for new R scripts and as a guide for organizing your code.

Using Git & GitHub Tutorial

  • Guides you through installing (software) Git on your computer, creating a GitHub.com account, connecting it to RStudio, and creating a repository (i.e., a folder).

  • Describes workflows for personal version control, student–PI code review, and publicly sharing analysis code.

  • Provides guidance for organizing projects, excluding and backing up data, and other uses, issues, and organization.

Multivariate Module

Tutorials and resources for preparing, visualizing, and analyzing multivariate ecological data.

  • Summarizing and exploring multivariate data
  • nMDS ordination and PERMANOVA for community composition
  • PCA for continuous environmental, morphological, or physiological variables
  • Hierarchical cluster analysis for species assemblages or continuous variables

Generalized Linear Models (GLMs) Module (in development)

A developing set of resources and tutorials for fitting and interpreting generalized linear models in R.

  • Overview of common GLM distributions and link functions
  • Poisson and negative binomial regression for biological count data
  • Model diagnostics using DHARMa and model comparison using AICc
  • Interpreting and plotting predictions, estimated means, response ratios, confidence intervals, and interactions
  • R code that can be adapted for analyzing your own count data
Back to top