Link to source file

Warmup

Break off into pairs and introduce each other. Questions:

  1. Year?
  2. Major?
  3. One type of data interested in studying?
    • (examples: simple numeric, text, time series, geospatial, network, survival, audio/video, other data specific to a subject area, etc…)
  4. Some other fun/cool fact about you?

Setup R/Rstudio

Note: Chromebooks do not support R/Rstudio and thus are not sufficient for this class. Please talk to instructors/TAs if you are unable to find a suitable computer to use for this course.

# show R version string
sessionInfo()$R.version$version.string
 # [1] "R version 4.0.3 (2020-10-10)"

Setup course folder

It’s important to keep your course files organized. We recommend you organize your files in a folder structure like this:

Take a minute now to make the above. You can place STAT340 anywhere you like (e.g. Documents, Desktop, Dropbox, etc). Also move this file (ds01.Rmd) into STAT340/discussion/01 . After knitting, the next line should show your STAT340 directory structure correctly.

fs::dir_tree("../../../STAT340")
../../../STAT340
+-- discussion
|   +-- 01
|   |   +-- ds01.html
|   |   \-- ds01.Rmd
|   \-- 02
+-- homework
|   +-- 01
|   \-- 02
+-- lecture
\-- project
    +-- analysis
    +-- data
    \-- plots

Rstudio intro/refresher

Final check

Make sure your R and Rstudio are both installed, up to date, and ready to rock. If you’re having issues, ask now!

Optional: backup/version control

It is strongly recommended you use some kind of backup or version control system (GitHub/Lab, Dropbox, Onedrive, etc.) so you don’t lose your course files if something unexpected happens. If you need help with this, please ask your instructors/TA.