This course is intended for students and experimenters that would like, for the first time, to get in touch with advanced statistical softwares. Accordingly, experienced R user or programmers will find this course of limited interest. Instead, the course aims to motivate and introduce students of scientific disciplines to the improvement of their statistical skills, of the quality of their graphical output, of the readability of the their reports.

The course is structured in the following Units:

- Read and save data
- Data-frames
- Data management
- User defined functions
- Looping
- Data consistency
- Summarize data
- Plot data
- Simple comparisons
- Analysis of variance
- Contrast analysis
- Linear regression models
- Non linear regression models
- Model validation
- Principal component analysis
- Multivariate regression models
- Linear discriminant analysis
- Non parametric modelling
- Quality control

This course use mostly R base packages (like `base`

, `stats`

and `graphics`

). The use of eXternal packages will be limited as much as possible.

The approach used is in the form of a tutorial. Each Unit starts with a clear problem to solve. The sections of each unit will provide guidelines to achieve the solution.

R is a free language and environment for data manipulation, statistical analysis and graphical display.

If you have to analyze only a small dataset, your model fitting is limited to linear regression functions, yout statistic is mostly related to mean and standard deviation , then, R does not pay back the time needed to learn it.

Instead, R becomes an interesting option if:

- You need to re-apply the same procedure or the same plot a number of times

Finally, R is your choice if:

- You need to apply a satistical model over a number of variables;
- Your dataset is composed by thousands of columns (variables) and thousands of rows (samples);
- Advanced statistics (i.e. multivariate analysis) are needed.

*R programmers.*They have previous knowledge on programming languages, such as C, C++ or Java. Time of execution and CPU usage are of primary concerns.*R advanced users.*Develop user-defined functions to automate works.*R users.*Write scripts. Summarize data. Draw plots.*R executors.*Copy and paste codes writen by other to draw graphs or summary tables.

Installation of R for Linux, OS or Windows is available here:

`Rstudio`

is an R editor. You can download the RStudio Desktop Open Source at the following website:

There are many way to get help. The most simple is to type `help()`

.

Official manuals are at the following website:

Support for working with RStudio is available here: