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/
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.
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
)
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}.
All materials in this course are licensed under a Creative Commons Attribution 4.0 International License unless noted otherwise.