Courses > R Course 2013 Basics

More R… Here is a list of useful online resources to accelerate your progress.

R - The Basics

On this page... (hide)

  1. 1. Concept
  2. 2. Interested?
  3. 3. Instructor
  4. 4. Date
  5. 5. What you need to prepare
  6. 6. Agenda

1.  Concept

This seminar addresses everybody who is interested in learning R from scratch.

This workshop is also intended as a preparation for the courses in applied statistics as well as data visualisation, which require some scripting skills.

There will be

  • a little theory
  • focus on technical aspects (not on interpretation)
  • time for questions and answers
  • hands-on training based on the requests you write in the comment field of the registration form. Feel free to approach us with your data

2.  Interested?

  • Register here by September 16, 2013.

3.  Instructor

Anna Görner

4.  Date

This part will take place in the mornings of September 30 - October 02, 2013 in Seminar room B0.002 @ MPI-BGC

5.  What you need to prepare

Bring a laptop and make sure that a recent version of R and R Studio is running on it.

You can download the most recent version here:
RStudio is a new open-source integrated development environment that runs on all platforms. It nicely combines console, script editor, working directory, plots etc. into a an uncluttered layout that you can easily navigate. You need to have R installed before you can use RStudio as a development environment.

Please also make sure that you can access the internet via WLAN (BGC-users, if you have a BGC-account; BGC-guests, if you don't have an account)

6.  Agenda

Intro >> Mon, Sept. 30, 2013, 9:00-11:00

  • RStudio & R as a calculator, operations: +-*/, sum
  • Read and Write files
  • Data types: logical, numeric, character ...
  • Data structures: vectors, matrices, lists, data.frames, arrays
  • navigating the R universe: finding help, searching documentation, finding the right packages/functions for the right purpose.


Graphics + basic statistics >> Tue, Oct. 01, 2013, 9:00-11:00

  • High-level graphic functions
    • plot, barplot, boxplot, contour, curve, hist, image, mosaicplot, pairs, persp
  • Low-level graphic functions
    • abline, arrows, axis,grid, legend, lines, mtext, points, polygon, text, title
  • Saving graphics
    • pdf, png ...
  • Univariate descriptive statistics
    • plot, hist, boxplot
  • Multivariate descriptive statistics
    • cov, cor
    • linear regression: lm, summary, plot.lm
  • slides part 2
  • video part 2

Programming 101 + basic statistics >> Tue., Oct. 01, 2013, 11:00-ca.13:00

  • Univariate descriptive statistics
    • mean, median, quantile, range, min, max, var, sd
  • Conditions
    • if, else
  • Loops and friends
    • for, while, apply & co
  • Functions
  • Processing of character strings
    • match, grep, paste, strsplit, sub, gsub ...
  • slides part 3
  • video part 3

powered by PmWiki