http www lisa upec frsiourFORMATIONRR pptx Guillaume Siour

  • Slides: 34
Download presentation
http: //www. lisa. u-pec. fr/~siour/FORMATION_R/R. pptx Guillaume Siour, Richard Valorso 08/07/2016

http: //www. lisa. u-pec. fr/~siour/FORMATION_R/R. pptx Guillaume Siour, Richard Valorso 08/07/2016

Les tutos Quelques bons tutoriels ● http: //cran. r-project. org/doc/contrib/Paradis-rdebuts_fr. pdf ● http: //cran.

Les tutos Quelques bons tutoriels ● http: //cran. r-project. org/doc/contrib/Paradis-rdebuts_fr. pdf ● http: //cran. r-project. org/other-docs. html ● http: //www. duclert. org/ ● http: //application. sb-roscoff. fr/download/fr 2424/abims/formation/2013/RInitiation_corrections. pdf ● http: //mathesaurus. sourceforge. net/octave-r. html R Reference Card ● http: //cran. r-project. org/doc/contrib/Short-refcard. pdf ● https: //cran. r-project. org/doc/contrib/Yanchang. Zhao-refcard-data-mining. pdf Couleurs http: //research. stowers-institute. org/efg/R/Color/Chart/ Les cartes http: //menugget. blogspot. fr/2011/05/mapxyz-interpolation-of-xyz-data-and. html Les symboles sur les plot http: //www. phaget 4. org/R/plot. html

La console https: //cran. r-project. org/

La console https: //cran. r-project. org/

Rstudio https: //www. rstudio. com/

Rstudio https: //www. rstudio. com/

Rstudio https: //www. rstudio. com/ Editeur Workspace History Console Files Plots Packages Help

Rstudio https: //www. rstudio. com/ Editeur Workspace History Console Files Plots Packages Help

Librairies https: //cran. r-project. org/web/packages/available_packages_by_name. html

Librairies https: //cran. r-project. org/web/packages/available_packages_by_name. html

Rstudio : proxy

Rstudio : proxy

Rstudio : proxy

Rstudio : proxy

Rstudio : Proxy Sys. setenv(http_proxy="http: //proxy. lisa. u-pec. fr: 3128")

Rstudio : Proxy Sys. setenv(http_proxy="http: //proxy. lisa. u-pec. fr: 3128")

Installation package

Installation package

Navigation Le répertoire de travail par défaut est celui où R est lancé getwd()

Navigation Le répertoire de travail par défaut est celui où R est lancé getwd() Pour le changer : • clique bouton via le menu (rstudio) • setwd( « » )

Le format des fichiers

Le format des fichiers

Les modes numeric : 1 -1 0. 5 character : "a" "toto" "cas "pas

Les modes numeric : 1 -1 0. 5 character : "a" "toto" "cas "pas simple" « logical : TRUE/FALSE complex : complex(real=0, imaginary=1) 2. 1 e 23

Les classes : vector Création d’un vecteur rep, sequence, rnorm, rexp, rgamma, rpois… Longueur

Les classes : vector Création d’un vecteur rep, sequence, rnorm, rexp, rgamma, rpois… Longueur d’un vecteur Opérations Les accès

Les classes : matrices Création d’une matrice Dimensions d’une matrice Les noms

Les classes : matrices Création d’une matrice Dimensions d’une matrice Les noms

Les classes : matrices Les accès Recherche de valeur et filtre Les tableaux

Les classes : matrices Les accès Recherche de valeur et filtre Les tableaux

Lecture d’un fichier http: //www. lisa. u-pec. fr/~siour/FORMATION_R/CINZANA_MALI_METEO_2014. txt

Lecture d’un fichier http: //www. lisa. u-pec. fr/~siour/FORMATION_R/CINZANA_MALI_METEO_2014. txt

Lecture d’un fichier

Lecture d’un fichier

Ecriture d’un fichier

Ecriture d’un fichier

Plot Déclaration de la date plot

Plot Déclaration de la date plot

Plot

Plot

Exercice 1 : plot

Exercice 1 : plot

Exercice 1 : plot correction

Exercice 1 : plot correction

Création d’un png BMP, JPEG, PNG and TIFF eps : postscript pdf : pdf

Création d’un png BMP, JPEG, PNG and TIFF eps : postscript pdf : pdf

TP 2 plus compliqué lecture edf http: //www. lisa. u-pec. fr/~siour/FORMATION_R/EDF Pas de symbole

TP 2 plus compliqué lecture edf http: //www. lisa. u-pec. fr/~siour/FORMATION_R/EDF Pas de symbole pour les commentaires Pas de nombre de ligne de commentaire Lignes blanches Séparateur décimal «. » ou « , » ? ? ? Nombre de colonnes Contenu des colonnes Unités

TP 2 plus compliqué lecture edf http: //www. lisa. u-pec. fr/~siour/FORMATION_R/edf_read. R

TP 2 plus compliqué lecture edf http: //www. lisa. u-pec. fr/~siour/FORMATION_R/edf_read. R

TP 3

TP 3

TP 3 http: //www. lisa. u-pec. fr/~siour/FORMATION_R/edf_read_NOx. R

TP 3 http: //www. lisa. u-pec. fr/~siour/FORMATION_R/edf_read_NOx. R

TP 4 : utilisation de par()

TP 4 : utilisation de par()

TP 4 http: //www. lisa. u-pec. fr/~siour/FORMATION_R/edf_read_NOx 2. R

TP 4 http: //www. lisa. u-pec. fr/~siour/FORMATION_R/edf_read_NOx 2. R

TP 5 : utilisation de la fonction approx()

TP 5 : utilisation de la fonction approx()

TP 5 http: //www. lisa. u-pec. fr/~siour/FORMATION_R/edf. R

TP 5 http: //www. lisa. u-pec. fr/~siour/FORMATION_R/edf. R

TP 6 http: //www. lisa. u-pec. fr/~siour/FORMATION_R/EDF/PTR_20160622_0801. edf Corriger le http: //www. lisa. u-pec.

TP 6 http: //www. lisa. u-pec. fr/~siour/FORMATION_R/EDF/PTR_20160622_0801. edf Corriger le http: //www. lisa. u-pec. fr/~siour/FORMATION_R/edf. R

Quelques fonctions pie() library(maps) maps() library(‘plotrix’) polar. plot polygon() barplot() boxplot()

Quelques fonctions pie() library(maps) maps() library(‘plotrix’) polar. plot polygon() barplot() boxplot()