Support Options

  • Knowledge Base

    Find information on common questions and issues.

  • Support Messages

    Check on the status of your correspondences with members of the QUBES team.

Contact Us

About you
About the problem

R Subsetting Tutorial

By Mary Kho1, Emily Weigel1

Georgia Institute of Technology

The students will practice manipulating data to add to or extract subsets of specific values, rows, columns, or subsets of data contained in existing data files.

Listed in Teaching Materials | resource by group Make Teaching with R in Undergraduate Biology Less Excruciating

Version 1.0 - published on 01 Jan 2020 doi:10.25334/GZCA-S726 - cite this

Licensed under CC Attribution-ShareAlike 4.0 International according to these terms


This lesson focuses on having students conduct basic data manipulation in R. Rather than directly editing their data file, students will be walked through the best practices in R for how to generate (smaller) datasets of interest using R commands.  

Learning objectives:

  1. Explain the utility and best practices of subsetting data via scripts
  1. Practice coding elements necessary to extract and create subsets of data
  1. Apply the methods and coding learned through swirl to their own datasets


Cite this work

Researchers should cite this work as follows:


Make Teaching with R in Undergraduate Biology Less Excruciating

When watching a resource, you will be notified when a new version is released.