Skip to content

psy218/r_tutorial

Repository files navigation

R Tutorial

Tutorial materials

R-scripts complement the tutorial material (i.e., Rmarkdown files).

Before the Tutorial

  • Please download & install R and RStudio.
  • Clone or download the tutorial materials by clicking the green button in the top right corner of the repo, or here.

Contents

R Primer

  • R and RStudio
    • R syntax & R building blocks (e.g., objects, functions)
    • RStudio panes
    • installing & loading packages
  • Working with data
    • importing data into R
    • Accessing elements inside R objects; indexing with a square bracket ([])
    • Inspecting class attributes

Intro to R

  • R syntax and grammar
  • Understanding and applying functions

RStudio Setup & Troubleshoot in R

  • Setting up RStudio to create a self-contained project
  • How to identify and troubleshoot errors in R

Practical R

  • Tidyverse syntax and grammar (e.g., piping operators)
  • Data wrangling with dplyr verbs (e.g., select(), mutate())

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages