STAT 218 - Week 1, Lab 1
January 11th, 2024
Today we will learn
Hadley Wickham and others at RStudio, CC BY-SA 4.0, via Wikimedia Commons
RStudio, Inc., Public domain, via Wikimedia Commons
R is a computer language.
R is an environment for statistical computing and graphics.
R is a free open source software
Everything we need to do for this class and beyond!
Quarto is…
Important
Tip
You can create your own Quarto document by clicking File > New File > Quarto Document
Let’s try to create our first Quarto document!

How to Create a New Quarto Document
do() is a function;
something is the argument of the function.
do() is a function;
something is the first argument of the function;
colorful is the second argument of the function.
R ignores comments if you put # like above
I love Dr. Dogucu’s teaching strategy to teach students the basics of coding. This is how she explains the idea of coding. I am using some of her strategies during this session.
R users can create/contribute packages, and they are for free!
For this lab, and many others in the future, we will use the following:
tidyverse “umbrella” package which has many different R packages for data wrangling and data visualizationopenintro R package is our second textbook’s package and we will use this for our lab sessions.