logo
Item card
logo

Programming in R

Some basic information about the module

Cycle of education: 2019/2020

The name of the faculty organization unit: The faculty Mathematics and Applied Physics

The name of the field of study: Engineering and data analysis

The area of study: sciences

The profile of studing:

The level of study: first degree study

Type of study: full time

discipline specialities :

The degree after graduating from university: engineer

The name of the module department : Departament of Mathematical Modelling

The code of the module: 12315

The module status: mandatory for teaching programme

The position in the studies teaching programme: sem: 2 / W30 L15 P30 / 4 ECTS / Z

The language of the lecture: Polish

The name of the coordinator: Ewa Rejwer-Kosińska, PhD

semester 2: Dawid Jaworski, PhD, Eng.

The aim of studying and bibliography

The main aim of study: Learning how to programm in the R language (in the RStudio environment), starting from basic issues (operations on data types, ways of data processing, care for code, presentation of results), to more advanced issues (installation and updating packages, elements of the object-oriented programming).

The general information about the module:

Bibliography required to complete the module
Bibliography used during lectures
1 M. Gągolewski Programowanie w języku R PWN, Warszawa. 2016.
2 P. Biecek Przewodnik po pakiecie R GiS, Wrocław. 2017.
3 https://cran.r-project.org/manuals.html .
4 https://cran.r-project.org/doc/FAQ/R-FAQ.html .
5 http://adv-r.had.co.nz/ .
6 http://www.tutorialspoint.com/r/r_tutorial.pdf .
Bibliography used during classes/laboratories/others
1 M. Gągolewski Programowanie w języku R PWN, Warszawa. 2016
2 https://cran.r-project.org/manuals.html .
3 https://cran.r-project.org/doc/FAQ/R-FAQ.html .
4 http://www.tutorialspoint.com/r/r_tutorial.pdf .

Basic requirements in category knowledge/skills/social competences

Formal requirements: Student has the knowledge and practical skills gained on the modules: Introduction to computer science and Introduction to programming. The student satisfies the formal requirements set out in the stu

Basic requirements in category knowledge:

Basic requirements in category skills:

Basic requirements in category social competences:

Module outcomes

MEK The student who completed the module Types of classes / teaching methods leading to achieving a given outcome of teaching Methods of verifying every mentioned outcome of teaching Relationships with KEK Relationships with PRK
01 Knows the basic and selected advanced programming techniques in R; knows the basics of object-oriented programming in R. lecture, laboratory, project test, reports, project presentation K_W02+
K_W08+
K_U25+
K_K01+
P6S_KK
P6S_UU
P6S_WG
02 Is able to analyze the ready program code in R in terms of: used data types, data structures and functions; the course of control instructions; packages and libraries. Can verify the correctness of the code. lecture, laboratory, project test, reports, project presentation K_U03+
K_U10+
K_U25+
K_K02+
P6S_KK
P6S_KO
P6S_UU
P6S_UW
03 Can perform operations on data, import / export data. Has the basic skills of data visualization in R. lecture, laboratory, project test, reports, project presentation K_U03+
K_U08+
K_U09+
K_U25+
K_K02+
P6S_KK
P6S_KO
P6S_UU
P6S_UW
04 Can write a simple computer code using programming techniques, including object-oriented programming. lecture, laboratory, project test, reports, project presentation K_U03+
K_U06+
K_U09+
K_U10+
K_U25+
K_K02+
K_K03+
K_K04+
P6S_KK
P6S_KO
P6S_KR
P6S_UU
P6S_UW

Attention: Depending on the epidemic situation, verification of the achieved learning outcomes specified in the study program, in particular credits and examinations at the end of specific classes, can be implemented remotely (real-time meetings).

The syllabus of the module

Sem. TK The content realized in MEK
2 TK01 Health and safety at a computer station. Organization of work in the R and RStudio environments. Elements of the R language: symbols, declarations of names and variables, etc. W1, L1, P1 MEK01 MEK02 MEK03
2 TK02 Distinguish between types and data structures (simple: atomic types, with recursive structure, missing data, complex: letters, vectors, matrices, data frames). Operations on types and data structures. W2-W4, L2, L3, P2 MEK01 MEK02 MEK03
2 TK03 Program flow control: conditional instructions and loops. Built-in functions (apply (), aggregate ()). W5, L4, P3 MEK01 MEK02 MEK03
2 TK04 Procedures and functions. The concept of functions, creation of function type objects, validation of arguments, returning the results. Libraries of functions available in R. Referencing to functions available in R. W6, W7, L5, P4, P5 MEK01 MEK02 MEK03
2 TK05 Organization of code, software testing, error handling, improved code performance. W8, P6, P15 MEK01 MEK02 MEK04
2 TK06 Data import / export. Loading files in the form of objects in R. Operations on files and directories. Creating, opening and closing connections. Reading data from connections. Record data for calls. W9, W10, L6, P7, P8 MEK01 MEK03 MEK04
2 TK07 Presentation of results (using the graphics package). Visualization of one-, two- and three-dimensional data. W11, W12, L7, P9, P10 MEK01 MEK03 MEK04
2 TK08 Expanding the possibilities of the R environment: installation and updating the packages. W13, L8, P11 MEK01 MEK02 MEK04
2 TK09 Introduction to object-oriented programming: principles of object-oriented programming, objects and classes (classes S3 and S4). Creating sample programs. W14-W15, P12-P14 MEK01 MEK04

The student's effort

The type of classes The work before classes The participation in classes The work after classes
Lecture (sem. 2) The preparation for a test: 10.00 hours/sem.
contact hours: 30.00 hours/sem.
Laboratory (sem. 2) contact hours: 15.00 hours/sem.
Finishing/Making the report: 5.00 hours/sem.
Project/Seminar (sem. 2) The preparation for projects/seminars: 5.00 hours/sem.
contact hours: 30.00 hours/sem..
Doing the project/report/ Keeping records: 10.00 hours/sem.
Advice (sem. 2) The participation in Advice: 2.00 hours/sem.
Credit (sem. 2) The preparation for a Credit: 8.00 hours/sem.
The written credit: 2.00 hours/sem.

The way of giving the component module grades and the final grade

The type of classes The way of giving the final grade
Lecture
Laboratory
Project/Seminar
The final grade

Sample problems

Required during the exam/when receiving the credit
(-)

Realized during classes/laboratories/projects
(-)

Others
(-)

Can a student use any teaching aids during the exam/when receiving the credit : no

The contents of the module are associated with the research profile: no