Source: http://www.biostat.envt.fr/wp-content/uploads/Faouzi/Enseignement/Une_introduction_au_langage_R.pdf