Skip to content

About

R tutorial for BI 306 Lab Fall 2021

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

BI 306 R Tutorial Materials - Fall 2021

This GitHub repository contains the materials necessary for the R tutorial (Part 1 & 2) for BU's Global Change Biology Lab (Fall 2021).

Goals from this tutorial:

  • Get Rstudio working on your computer
  • Create Rmarkdown files (HTML and Word outputs)
  • Learn basic data manipulation
  • Perform basic statistics on data
  • Create data visualizations

This tutorial is designed to be taught over two 2 hour and 45 minute lab sessions

  • BI306_Rtutorial_pt1.Rmd - first part that covers:
    • Install R and R studio
    • View the structure of data sets
    • Perform basic summary statistics on data (summarySE() and tidyverse)
    • Make R markdown table to display data
  • BI306_Rtutorial_pt2.Rmd - second part that covers:
    • making figures
    • loading your own data

Included materials

  • Misc_files
    • word_styles_ref.docx - Word reference style document for R markdown knit
  • Part_1 - Materials for part 1 of the tutorial (contains Rmarkdown and knit output files with solutions to in-lab questions for students)
    • BI306_Rtutorial_pt1.Rmd - R markdown of part 1 of the tutorial to present to class
    • BI306_Rtutorial_pt1.docx
    • BI306_Rtutorial_pt1.html
  • Part_2 - Materials for part 2 of the tutorial (contains Rmarkdown and knit output files with solutions to in-lab questions for students)
    • BI306_Rtutorial_pt2.Rmd - R markdown of part 2 of the tutorial to present to class
    • BI306_Rtutorial_pt2.docx
    • BI306_Rtutorial_pt2.html
  • Student_materials - These can be shared with students and do not contain all code in the knit files.
    • BI306_Rtutorial_Lab1* (.docx, PDF, and HTML versions)
    • BI306_Rtutorial_Lab2* (.docx, PDF, and HTML versions)

Notes:

  • Student materials for each tutorial should be provided to students along with the accompanying R markdown document containing all the code for the tutorial (found under Part_1 or Part_2). These allow students to take notes along with the walkthrough and see what the resulting document should look like.



This tutorial was designed as a basic introduction to R for use in the Biology of Global Change lab by Colleen B Bove.

About

R tutorial for BI 306 Lab Fall 2021

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages