Commit 37bae779 authored by Xavier Nardou's avatar Xavier Nardou

petit ajout de l'histogramme

parent 8128a46d
...@@ -34,4 +34,12 @@ ggplot(data, aes(x, y)) + ...@@ -34,4 +34,12 @@ ggplot(data, aes(x, y)) +
geom_line(color="blue") geom_line(color="blue")
``` ```
### Histogramme avec ggplot2
```{r}
ggplot(data, aes(y)) +
geom_histogram(color="black",
fill="blue",
binwidth = 2.5,
alpha=0.5)
```
This diff is collapsed.
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