Skip to content

jhudsl/GDSCN_Book_swirl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro R with swirl

Render Bookdown and Coursera

This course was created from the AnVIL Template, which is based on the OTTR Template

You can see the rendered course material here: https://jhudatascience.org/GDSCN_Book_swirl/

About this book

In this exercise, students are introduced to the basics of R using the swirl package (https://swirlstats.com), which teaches students R from within the R console. The primary goal of this exercise is to get students comfortable interacting with the R console.

Learning Objectives

This course will teach learners to:

  • Open RStudio and locate important panels (R console, Help)
  • Run commands in the R console
  • Explain what vectors and dataframes are in R
  • Use common R commands to work with R objects (e.g. assign, print, subset, math operations)
  • Explore a dataset using base R commands (e.g. dim, summary, str)

Encountering problems?

If you are encountering any problems with this course, please file a GitHub issue or contact us at {Some email or web address with a contact form}.

Creative Commons License
All materials in this course are licensed under a Creative Commons Attribution 4.0 International License unless noted otherwise.