Replace french with English text

parent 1b02b77a
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
title: "Incidence of influenza-like illness in France" title: "Incidence of influenza-like illness in France"
author: "Eleni Gkiouzepi" author: "Eleni Gkiouzepi"
output: output:
pdf_document:
toc: true
html_document: html_document:
toc: true toc: true
theme: journal theme: journal
pdf_document:
toc: true
documentclass: article documentclass: article
classoption: a4paper classoption: a4paper
header-includes: header-includes:
...@@ -141,9 +141,9 @@ Since the peaks of the epidemic happen in winter, near the transition between ca ...@@ -141,9 +141,9 @@ Since the peaks of the epidemic happen in winter, near the transition between ca
The argument `na.rm=True` in the sum indicates that missing data points are removed. This is a reasonable choice since there is only one missing point, whose impact cannot be very strong. The argument `na.rm=True` in the sum indicates that missing data points are removed. This is a reasonable choice since there is only one missing point, whose impact cannot be very strong.
```{r} ```{r}
yearly_peak = function(year) { yearly_peak = function(year) {
debut = paste0(year-1,"-08-01") start = paste0(year-1,"-08-01")
fin = paste0(year,"-08-01") end = paste0(year,"-08-01")
semaines = data$date > debut & data$date <= fin semaines = data$date > start & data$date <= end
sum(data$inc[semaines], na.rm=TRUE) sum(data$inc[semaines], na.rm=TRUE)
} }
``` ```
...@@ -164,7 +164,7 @@ head(annnual_inc) ...@@ -164,7 +164,7 @@ head(annnual_inc)
A plot of the annual incidences: A plot of the annual incidences:
```{r} ```{r}
plot(annnual_inc, type="p", xlab="Année", ylab="Annual incidence") plot(annnual_inc, type="p", xlab="Year", ylab="Annual incidence")
``` ```
### Identification of the strongest epidemics ### Identification of the strongest epidemics
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment