Welcome to Lab

Duke University

January 11, 2023

Introductions

  • Meet the TA!

  • Introduce yourself (icebreaker)

  • Follow along these slides on the course website (under slides): sta199-sp23-1.github.io

  • Bookmark this! It’s the course website.

What to expect in labs

  • Introduce lab assignment (5-10 minutes, longer today)
  • Work on the lab assignment (you can find it on the course website). You will work with others but your submission must be your own for the first several labs.
  • Typically you won’t finish labs in-class and they will be due 1 week after they are released.

Tips

  • Read all instructions on the lab.
  • One work strategy is to get through portions that you think will be most challenging (which initially might be the coding component) during lab when we can help you on the spot and leave the narrative writing until later.
  • Make use of office hours. Before you need help!

Beginnings

  • Create a GitHub account (unless you already have one) on https://github.com/
    • one day you might want to show off your work, so choose a username you will be proud to show to a future employer.
  • tell us your username by taking this survey. This is essential to receive credit on future assignments.
05:00

Create your GitHub repo

Create your own copy of today’s lab by clicking here. You may be prompted to login to GitHub. Your copy of of the lab is called your “repository”, or “repo” for short.

Demo: setting up

Now that your lab repo is created, let’s setup git to work within RStudio.

To begin, open

  • the lab instructions here and
  • the RStudio containers here
  • your repo (that contains your starting files for the lab) here

Follow the instructions in the lab as I demo.

Remember

No programming experience is required or expected to take this class. Come to lecture, lab and office hours. It’s okay to be confused. Stick with it, you will get the hang of it!