401-6215-00L  Using R for Data Analysis and Graphics (Part I)

SemesterAutumn Semester 2023
LecturersM. Mächler
Periodicityyearly recurring course
Language of instructionEnglish



Courses

NumberTitleHoursLecturers
401-6215-00 GUsing R for Data Analysis and Graphics (Part I)14s hrs
Tue/114:15-16:00CAB G 11 »
M. Mächler

Catalogue data

AbstractThe course provides the first part an introduction to the statistical/graphical/data science 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.
Learning objectiveThe students will be able to use the software R for simple data analysis and graphics.
ContentThe 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 with R. 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.
Lecture notesAn Introduction to R. http://stat.ethz.ch/CRAN/doc/contrib/Lam-IntroductionToR_LHL.pdf
Prerequisites / NoticeThe course resources will be provided via the Moodle web learning platform.
Subscribing via Mystudies *automatically* makes you a student participant of the Moodle course of this lecture, which is at

https://moodle-app2.let.ethz.ch/course/view.php?id=20847
CompetenciesCompetencies
Subject-specific CompetenciesConcepts and Theoriesassessed
Techniques and Technologiesassessed
Method-specific CompetenciesAnalytical Competenciesassessed
Media and Digital Technologiesassessed
Problem-solvingassessed
Social CompetenciesCooperation and Teamworkfostered
Personal CompetenciesCreative Thinkingassessed

Performance assessment

Performance assessment information (valid until the course unit is held again)
Performance assessment as a semester course
ECTS credits1.5 credits
ExaminersM. Mächler
Typegraded semester performance
Language of examinationEnglish
RepetitionRepetition only possible after re-enrolling for the course unit.
Digital examThe exam takes place on devices provided by ETH Zurich.

Learning materials

No public learning materials available.
Only public learning materials are listed.

Groups

No information on groups available.

Restrictions

End of registration periodRegistration only possible until 12.10.2023

Offered in

ProgrammeSectionType
Agricultural Sciences MasterData Science and Technology for Agricultural ScienceW+Information
Biology MasterElective Compulsory Master CoursesWInformation
Biology MasterElective Compulsory Master CoursesWInformation
Earth and Climate Sciences BachelorElectivesWInformation
MAS in Sustainable Water ResourcesElective CoursesWInformation
Physics BachelorElectivesWInformation
Environmental Sciences BachelorMethods of Statistical Data AnalysisWInformation