The Brain & Mind Centre - Introduction into R Workshop: Glossary

Key Points

General Introduction, Installation and Setup
  • R is a programming language

  • RStudio is an integrated development environment which makes working with R easier

R variables and data types: Introduction to R Programming
  • R supports multiple variable types

  • Errors often result because of trying to perform an unsupported operation on a specific data type

  • Errors can be cryptic to interpret

  • We can use helper packages to import and filter data in R

Break
  • Coffee is good

Data Structures
  • R supports multiple variable types

  • Errors often result because of trying to perform an unsupported operation on a specific data type

  • Errors can be cryptic to interpret

  • We can use helper packages to import and filter data in R

Controls and Loops
  • R markdown notebooks can be very powerful for keeping your code and output in one place

  • Use if and if-else statements to control the execution of your code

  • If you have to do something multiple times, you might consider using a loop

Break
  • Coffee is good

Data Wrangling
  • R has a large community of developers creating power tools for data analysis

  • Tidyverse is a great data wrangling suite of functions

  • Use haven to read in your SPSS, STATA, etc files

  • Use dplyr to perform the common data manipulations

Visualisation
  • ggplot is the best data visualisation package for R

  • it uses the grammar of graphics to generate a plot layer by layer

Break
  • Coffee is good

Data and statistical analysis
  • R has a large community of developers creating power tools for data and statistical analysis

Glossary

FIXME