Skip to content

schneiderpy/Introduction-to-R-esp

 
 

Repository files navigation

A (very) short introduction to R

Here you'll find some documents that my colleague Paul Torfs and I wrote about learning R:

1. A (very) short introduction to R

The base document, with 10 pages of background and exercises and 2 pages listing useful functions (to use as a reference). Working through this document takes 1 to 2 hours (depending on your background). An old version of this document can also be downloaded from the R website (as contributed document), but the newest version can always be found here.

2. Doing "A (very) short introduction to R" in the interactive swirl environment

Instead of reading the pdf and doing the ToDo exercises, you can also go through the text and exercises in an interactive environment called swirl (developed by swirlstats.com). This short manual gets you started with the (very) short introduction to R. It also points you to some nice follow-up classes created by others.

This swirl course is relatively new, so it may still contain errors. If you find any, let me know on the issues page.

3. Writing your own R scripts

After learning the basics, you have to gain experience in building R scripts. In 5 sel-study modules you learn to set up a script step by step. The examples are from hydrology, but the exercises are useful for everyone.

4. Portable versions of R and RStudio

In case you want to take R everywhere you go (you may want to install the programs on a USB stick in case of administrator rights issues).

5. Examples of R scripts for hydrology

Here we collect scripts for hydrological data analysis, which you can adapt for your own application.

 

Self study modules

To learn R step by step, we made 8 self study modules of 1-3 hours (depending on your background):

  1. A (very) short introduction to R
  2. R Programming MOOC first part
  3. R Programming MOOC second part
  4. Basic plotting
  5. Pretty plotting
  6. Reading data files
  7. Matrix operations
  8. Spatial data

Modules 2 and 3 are swirl lessons belonging to the course R Programming (the credits go to the developers of that course). Modules 4-8 are script writing assignments. We also presented these self-study modules at the European Geosciences Union General Assembly 2018.

 

Wageningen University

Hydrology and Environmental Hydraulics Group

 

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

About

A (very) short introduction to R in spanish

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%