1 April 2020

Goals for today

  • Identify the software requirements for the course
  • Verify that you have the software installed and working

R Software

An environment for statistical computing and graphics

R Software

  • Most of R’s current capabilities come from packages
  • We will use several different packages for fitting statistical models (eg, nlme, lme4)

RStudio

An integrated development environment (IDE) for R

 

RStudio highlights

  • Syntax highlighting, code completion, smart indentation
  • Easily manage multiple working directories using projects
  • Interactive debugger to diagnose and fix errors quickly
  • Extensive package development tools
  • Built-in tools & GUIs for git & Markdown

RStudio benefits

 

R Markdown

Notebook interface to weave together text, equations, and code into nicely formatted output

Allows you to create and document fully reproducible workflows

Ideal framework for homework assignments!

R Markdown

Supports dozens of static and dynamic output formats

  • HTML
  • PDF
  • MS Word
  • HTML5 slides
  • Books
  • Shiny apps
  • Scientific articles
  • websites

Gallery here

GitHub

A website & cloud-based service that helps developers

  • Store & manage their code
  • Track & control changes to their code
  • Communicate with other members

GitHub

Its central focus is version control via git

but that’s not our focus in this course