+ - 0:00:00
Notes for current slide
Notes for next slide

Welcome

Introduction and Orientation

1 / 38

Hello πŸ‘‹

Welcome to the 3rd annual UO Psych R Bootcamp!

2 / 38

Hello πŸ‘‹

Welcome to the 3rd annual UO Psych R Bootcamp!

The team














Brendan














Cianna














Cam

3 / 38

Schedule

Day 1: Monday, 9/21, 9 AM - 1 PM PST

  • Basics of R & RStudio
  • Data Types & Structures
  • Functions & Debugging

Day 2: Wednesday, 9/23, 9 AM - 12 PM PST

  • Introduction to the tidyverse
  • Importing data & Project-oriented workflows
  • Data visualization with ggplot2

Day 3: Friday, 9/25, 9 AM - 1 PM PST

  • Data wrangling with dplyr
  • Data tidying with tidyr
  • Reproducible reporting with R Markdown
4 / 38

Logistics






RStudio Cloud






Slack
#bootcamp2020






Github

5 / 38

A word of encouragement

  • R has a substantial learning curve, but...
6 / 38

A word of encouragement

  • R has a substantial learning curve, but...

    • 1) It's absolutely worth it! (I promise)
7 / 38

A word of encouragement

  • R has a substantial learning curve, but...

    • 1) It's absolutely worth it! (I promise)

    • 2) Everyone goes through this

8 / 38

A word of encouragement

  • R has a substantial learning curve, but...

    • 1) It's absolutely worth it! (I promise)

    • 2) Everyone goes through this

β€œThere is no way of going from knowing nothing about a subject to knowing something about a subject without going through a period of great frustration and much suckiness.”

9 / 38

A word of encouragement

  • R has a substantial learning curve, but...

    • 1) It's absolutely worth it! (I promise)

    • 2) Everyone goes through this

β€œThere is no way of going from knowing nothing about a subject to knowing something about a subject without going through a period of great frustration and much suckiness.”

-Hadley Wickham,
Chief Scientist at RStudio

10 / 38

Artwork by @allison_horst

11 / 38

Artwork by @allison_horst

πŸ•’ + πŸ’ͺ ...

12 / 38

Artwork by @allison_horst

πŸ•’ + πŸ’ͺ ...

13 / 38

What are R & RStudio?

14 / 38

What are R & RStudio?




R is a programming language designed for statistics and data science
15 / 38

What are R & RStudio?




R is a programming language designed for statistics and data science

RStudio is an integrated development environment (IDE) that provides an interface to R.

RStudio also refers to the company that develops this software.

16 / 38

What are R & RStudio?

Image from Modern Dive

17 / 38

Why Use R?

It's open source

18 / 38

Why Use R?

It's open source

  • It's free!
19 / 38

Why Use R?

It's open source

  • It's free!

  • It's easier to share your data & code

20 / 38

Why Use R?

It's open source

  • It's free!

  • It's easier to share your data & code

  • Innovations spread quickly

21 / 38

Why Use R?

It's open source

  • It's free!

  • It's easier to share your data & code

  • Innovations spread quickly

  • You can contribute!

22 / 38

Why Use R?

It's powerful & flexible

23 / 38

Why Use R?

It's powerful & flexible

  • You can use R for more than data analysis, including:

    • creating websites (including this one!)

    • creating documents that reproduce your analyses

    • slideshows (including this one!)

    • books

    • web applications

24 / 38

Why Use R?

It's powerful & flexible

  • You can use R for more than data analysis, including:

    • creating websites (including this one!)

    • creating documents that reproduce your analyses

    • slideshows (including this one!)

    • books

    • web applications

  • In R, it is never if but how...

25 / 38

Why Use R?

It's a useful, transferable skill

26 / 38

Why Use R?

It's a useful, transferable skill

  • R is used across many industries, esp. in UX & data science
27 / 38

Why Use R?

Reduce errors, enhance reproducibility & transparency

28 / 38

Why Use R?

Reduce errors, enhance reproducibility & transparency

  • Generate publication-quality figures & tables within R, reducing copypasta errors
29 / 38

Why Use R?

Reduce errors, enhance reproducibility & transparency

  • Generate publication-quality figures & tables within R, reducing copypasta errors

  • Create detailed and fully documented scripts showing every step between raw data & stats

30 / 38

Why Use R?

Reduce errors, enhance reproducibility & transparency

  • Generate publication-quality figures & tables within R, reducing copypasta errors

  • Create detailed and fully documented scripts showing every step between raw data & stats

  • You can use R to automate reporting of your analyses (for HW or publication), reducing all too common errors in reported statistics see Nuijten et al.

31 / 38

Why Use R?

It's efficient

32 / 38

Why Use R?

It's efficient

  • Once you get used to it and start using R, it saves you time in the long run
33 / 38

Why Use R?

It's efficient

  • Once you get used to it and start using R, it saves you time in the long run

  • Scripts make re-using past work or using others' work as a starting point much easier

34 / 38

Why Use R?

It's efficient

  • Once you get used to it and start using R, it saves you time in the long run

  • Scripts make re-using past work or using others' work as a starting point much easier

  • Typing scripts is much faster than clicking through menus, especially after you get the hang of keyboard shortcuts

35 / 38

Why Use R?

It's efficient

  • Once you get used to it and start using R, it saves you time in the long run

  • Scripts make re-using past work or using others' work as a starting point much easier

  • Typing scripts is much faster than clicking through menus, especially after you get the hang of keyboard shortcuts

  • It runs faster and is less bloated than GUI-based statistical software (e.g., SPSS)

36 / 38

Why Use R?

It's efficient

  • Once you get used to it and start using R, it saves you time in the long run

  • Scripts make re-using past work or using others' work as a starting point much easier

  • Typing scripts is much faster than clicking through menus, especially after you get the hang of keyboard shortcuts

  • It runs faster and is less bloated than GUI-based statistical software (e.g., SPSS)

It's fun πŸ₯³

No, seriously!

37 / 38

Let's get started!

You can follow along:

πŸ”— uopsych-r-bootcamp-2020.netlify.app

38 / 38

Hello πŸ‘‹

Welcome to the 3rd annual UO Psych R Bootcamp!

2 / 38
Paused

Help

Keyboard shortcuts

↑, ←, Pg Up, k Go to previous slide
↓, β†’, Pg Dn, Space, j Go to next slide
Home Go to first slide
End Go to last slide
Number + Return Go to specific slide
b / m / f Toggle blackout / mirrored / fullscreen mode
c Clone slideshow
p Toggle presenter mode
t Restart the presentation timer
?, h Toggle this help
oTile View: Overview of Slides
Esc Back to slideshow