1 Header example

1.1 Secondary header

To check themes: https://www.datadreaming.org/post/r-markdown-theme-gallery/

plot(cars)

2 Other header

You can write text here.

# And then write code in code chunks. This is a comment.
1+1
## [1] 2

3 First analysis

library(tidyverse)
filter(diamonds, carat > 3.5)
## # A tibble: 9 x 10
##   carat cut       color clarity depth table price     x     y     z
##   <dbl> <ord>     <ord> <ord>   <dbl> <dbl> <int> <dbl> <dbl> <dbl>
## 1  3.65 Fair      H     I1       67.1    53 11668  9.53  9.48  6.38
## 2  4.01 Premium   I     I1       61      61 15223 10.1  10.1   6.17
## 3  4.01 Premium   J     I1       62.5    62 15223 10.0   9.94  6.24
## 4  4    Very Good I     I1       63.3    58 15984 10.0   9.94  6.31
## 5  3.67 Premium   I     I1       62.4    56 16193  9.86  9.81  6.13
## 6  4.13 Fair      H     I1       64.8    61 17329 10     9.85  6.43
## 7  5.01 Fair      J     I1       65.5    59 18018 10.7  10.5   6.98
## 8  4.5  Fair      J     I1       65.8    58 18531 10.2  10.2   6.72
## 9  3.51 Premium   J     VS2      62.5    59 18701  9.66  9.63  6.03