User Tools

Site Tools


Introduction to R for Ecologists


EEB5082 (B44U1940), semester 105-1, 3 credits, in English

When & where: Mondays 6,7,8 (13:20-16:20), 4A Life Science building (class was originally scheduled to R1217, but since 9/26 we moved to 4A, which is bigger)

Office hours (if you need to consult things related to the class): Tuesdays 14:00-15:30 in R1211.

Instructor: David Zelený (澤大衛)

Link to CEIBA:

About the class

R program offers a powerful tool for analyzing and visualizing all kinds of data, and in recent years it became very popular among ecologists. On one side it offers great freedom in handling, analyzing and visualizing any type of data, on the other side it comes with a steep learning curve of S language and frustration from frequent error messages.

The main goal of this practical course is to teach students basic skills of using R program, so as they can use it in analyzing and visualizing data in their own research projects or in other, more advanced courses focused on R.

The class will be mostly practical in front of the computer with running R and RStudio, with brief theoretical modules. Credits will be gained for active participation in the class, passing midterm quiz, handing homework assignments and delivering final oral presentation of individual project (in English).

Teaching schedule (subject to changes)

  1. Introduction to R and RStudio, basic operations, installation of packages
  2. Main types of R objects (vector, matrix, data frame, list)
  3. Reading and exporting data
  4. Creating loops, how to use help
  5. Definition of functions
  6. Creating sequences, repetitions
  7. Subscripting
  8. Simple rules for vectorization
  9. Simple rules for parallelization of operations
  10. Data handling (merging, sorting)
  11. Basic rules for data visualization
  12. Standard R graphics, high and low level graphical functions
  13. Use of colors in data visualization
  14. Creating figures in different image formats
  15. Creating lattice diagrams
  16. Creating figures from scratch, practice
  17. Final presentation I
  18. Final presentation II
recol/start.txt · Last modified: 2016/10/04 07:42 by david