VVZ API is not affiliated with ETH Zurich. Data might be outdated or incorrect. Please view the official ETHZ Vorlesungsverzeichnis for binding information.
Using R for Data Analysis and Graphics (Part I)
Last Updated: 2026-02-05 15:48:51
Abstract
The course provides the first part an introduction to the statistical software R (https://www.r-project.org/) for scientists. Topics covered are data generation and selection, graphical and basic statistical functions, creating simple functions, basic types of objects.
Objective
The students will be able to use the software R for simple data analysis and graphics.
Content
The course provides the first part of an introduction to the statistical software R for scientists. R is free software that contains a huge collection of functions with focus on statistics and graphics. If one wants to use R one has to learn the programming language R - on very rudimentary level. The course aims to facilitate this by providing a basic introduction to R. Part I of the course covers the following topics: - What is R? - R Basics: reading and writing data from/to files, creating vectors & matrices, selecting elements of dataframes, vectors and matrices, arithmetics; - Types of data: numeric, character, logical and categorical data, missing values; - Simple (statistical) functions: summary, mean, var, etc., simple statistical tests; - Writing simple functions; - Introduction to graphics: scatter-, boxplots and other high-level plotting functions, embellishing plots by title, axis labels, etc., adding elements (lines, points) to existing plots. The course focuses on practical work at the computer. We will make use of the graphical user interface RStudio: www.rstudio.org Note: Part I of UsingR is complemented and extended by Part II, which is offered during the second part of the semester and which can be taken independently from Part I.
Resources
Lecture Notes
An Introduction to R.http://stat.ethz.ch/CRAN/doc/contrib/Lam-IntroductionToR_LHL.pdf
General Information
- Language
- English
- Levels
- BSC , MSC , NDS
- Frequency
- Yearly recurring
Examination
- Type
- graded semester performance
- Digital
- The exam takes place on devices provided by ETH Zurich.
Registration & Places
- Signup End
- 14.10.2021
Course Components
| Type | Title | Time & Place | Hours |
|---|---|---|---|
| lecture with exercise | Using R for Data Analysis and Graphics (Part I) |
|
14 h semesterly |
Offered In
-
-
-
Major: Climate and Water (Advisor of the BSc-major "Climate and Water" is Dr. Hanna Joos, Institute for climate and atmosphere (IAC).)
-
Electives (The electives listed are recommended. Additional courses can be chosen from the complete offerings of the ETH Zurich and University of Zurich.)
-
-
-
-
Environmental Sciences Bachelor (Students can choose between one Bachelor thesis of 10KP or two Bachelor theses of 5KP each. In principle, all professors and lecturers involved in the teaching of the Environmental Sciences degree programme are entitled to supervise a Bachelor's thesis (BA). BA in the area of social sciences and humanities can only be supervised by lecturers who teach in this area. The same applies to BA in the field of natural sciences and technology. If the thesis is supervised by a person who does not teach in the Environmental Sciences degree programme or who does not have ETH lecturer status, then the student has to fill in the "Form for supervisors of a Bachelor thesis who do not teach in the Environmental Sciences degree programme" Link)
-
-
-
-
-
-
Statistics Master (The following courses belong to the curriculum of the Master's Programme in Statistics. The corresponding credits do not count as external credits even for course units where an enrolment at ETH Zurich is not possible.)
-
-
MAS in Sustainable Water Resources (The Master of Advanced Studies in Sustainable Water Resources is a 12 month full time postgraduate diploma programme. The focus of the programme is on issues of sustainability and water resources in Latin America, with special attention given to the impacts of development and climate change on water resources. The programme combines multidisciplinary coursework with high level research. Sample research topics include: water quality, water quantity, water for agriculture, water for the environment, adaptation to climate change, and integrated water resource management. Language: English. Credit hours: 66 ECTS. For further information please visit: )
-
Elective Courses (Electives: 6 credits has to be achieved.)
-