Introduction to R
This is a theoretical-practical course to introduce researchers from different areas to the use of R programming language. This course is part of a module called AlwaysR (I to IV) organized by Cousteau Consultant Group. Each section is complementary to the following one.
Objectives
- Learn the elementary concepts for handling objects, functions, classes and methods.
- Achieve the ability to read and interpret the basic syntax of the language.
- Develop basic applications in R to solve common problems in the scientific field.
Course program
-
Day 01:
Introduction to R. Installation.
Class and methods. Basic operations. -
Day 02:
Vector, matrix, arrays, dataframes and list. How to generate it. -
Day 03:
Indexing into a data structure.
Packages in R. Instalation from CRAN and github.
Reading files (excel, csv, txt, etc) -
Day 04:
Conditional if statement Loop for and while -
Day 05:
Descriptive statistic
Basic plots and statistic tests.