diff --git a/journal/monjournal.md b/journal/monjournal.md new file mode 100644 index 0000000000000000000000000000000000000000..2574845a0d27ee9a5aee2742fc354802e3957f23 --- /dev/null +++ b/journal/monjournal.md @@ -0,0 +1,3 @@ +# Historique + +Mercredi 25 novembre 2020 Ouverture du journal \ No newline at end of file diff --git a/module1/exo2/fichier-markdown.md b/module1/exo2/fichier-markdown.md index 30d74d258442c7c65512eafab474568dd706c430..cc68a55888f672377fcf3aeed13776e5e09bd4e9 100644 --- a/module1/exo2/fichier-markdown.md +++ b/module1/exo2/fichier-markdown.md @@ -1 +1,35 @@ -test \ No newline at end of file +# Partie 1 + +## Sous-partie 1 : texte + +Une phrase sans rien + +*Une phrase en italique* + +**Une phrase en gras** + +Un lien vers [fun-mooc.fr](https://www.fun-mooc.fr/) + +Une ligne de `code` + +## Sous-partie 2 : listes + +**Liste à puce** + +- item + - sous-item + - sous-item +- item +- item + +**Liste numérotée** + +1. item +2. item +3. item + +## Sous-partie 3 : code + +``` +# Extrait de code +``` \ No newline at end of file diff --git a/module2/exo1/toy_document_fr.Rmd b/module2/exo1/toy_document_fr.Rmd index 7eece5e296bb586e88166aa8a263ca75b44c2b9e..319ac17050df477dc8ba4b6f452f166ea3d83b8c 100644 --- a/module2/exo1/toy_document_fr.Rmd +++ b/module2/exo1/toy_document_fr.Rmd @@ -1,6 +1,6 @@ --- title: "Votre titre" -author: "Votre nom" +author: "Christian Wiat" date: "La date du jour" output: html_document --- diff --git a/module2/exo1/toy_document_fr.html b/module2/exo1/toy_document_fr.html new file mode 100644 index 0000000000000000000000000000000000000000..8bf50bd156b473e2a5e7722ebee5ff7d0f825958 --- /dev/null +++ b/module2/exo1/toy_document_fr.html @@ -0,0 +1,485 @@ + + + + + + + + + + + + + + +Votre titre + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + +
+

Quelques explications

+

Ceci est un document R markdown que vous pouvez aisément exporter au format HTML, PDF, et MS Word. Pour plus de détails sur R Markdown consultez http://rmarkdown.rstudio.com.

+

Lorsque vous cliquerez sur le bouton Knit ce document sera compilé afin de ré-exécuter le code R et d’inclure les résultats dans un document final. Comme nous vous l’avons montré dans la vidéo, on inclue du code R de la façon suivante:

+
summary(cars)
+
##      speed           dist       
+##  Min.   : 4.0   Min.   :  2.00  
+##  1st Qu.:12.0   1st Qu.: 26.00  
+##  Median :15.0   Median : 36.00  
+##  Mean   :15.4   Mean   : 42.98  
+##  3rd Qu.:19.0   3rd Qu.: 56.00  
+##  Max.   :25.0   Max.   :120.00
+

Et on peut aussi aisément inclure des figures. Par exemple:

+

+

Vous remarquerez le paramètre echo = FALSE qui indique que le code ne doit pas apparaître dans la version finale du document. Nous vous recommandons dans le cadre de ce MOOC de ne pas utiliser ce paramètre car l’objectif est que vos analyses de données soient parfaitement transparentes pour être reproductibles.

+

Comme les résultats ne sont pas stockés dans les fichiers Rmd, pour faciliter la relecture de vos analyses par d’autres personnes, vous aurez donc intérêt à générer un HTML ou un PDF et à le commiter.

+

Maintenant, à vous de jouer! Vous pouvez effacer toutes ces informations et les remplacer par votre document computationnel.

+
+ + + + +
+ + + + + + + + + + + + + + + diff --git a/module3/module2_ressources_sequence4_examples_tutorial.Rmd b/module3/module2_ressources_sequence4_examples_tutorial.Rmd new file mode 100644 index 0000000000000000000000000000000000000000..25cd4518ac8cbd49817cc6d274d3e66f3744931e --- /dev/null +++ b/module3/module2_ressources_sequence4_examples_tutorial.Rmd @@ -0,0 +1,59 @@ +--- +title: "Mon premier document" +author: "Arnaud Legrand" +date: "10 octobre 2017" +output: word_document +--- + +## R Markdown + +This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see . + +When you click the **Knit** button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this: + +```{r cars} +summary(cars) +``` + +## Including Plots + +You can also embed plots, for example: + +```{r pressure, echo=FALSE} +plot(pressure) +``` + +Note that the `echo = FALSE` parameter was added to the code chunk to prevent printing of the R code that generated the plot. + +## Ma propre section + +```{r} +x=1 +x +``` + +```{r} +x = x + 10 +x +``` +```{r} +hist(rnorm(1000)) +``` + +```{r} +hist(rnorm(100,mean = 2, sd = .2)) +``` + + + +## Un petit exemple avec d'autres langages +```{python} +from math import * +x = 3.14 +print(sin(x)) +``` + +```{python} +print(sin(x)) +``` +