2nd July 2019

Code of conduct

What is R and why use it?

  • Statistical programming language
  • Used around the world
  • Open source
  • Excellent support e.g.:
    • EdinbR
    • ourcodingclub
    • Stackoverflow
    • See workbook for more

Packages

  • First rule of programming
    • has someone else done it already?
  • Packages are add ons to increase functionality
  • Today we’ll use

R signposts

  • function() Anything with brackets is a function, like a spreadsheet
  • %>% A pipe can send output from a function to the next line
  • <- and = can generally be used

What this isn’t

  • Comprehensive guide to R
  • How to do statistics

What this is

  • Get you working with data as quickly as possible
  • Know how to help yourself
  • Help you feel comfortable exploring
  • Learn how to make tables and plots

Let’s get started!