When I make a new markdown file it generates the header based on my input followed by default code that looks like this:
---
title: "Example Report"
author: "segreenb"
date: "7/30/2019"
output: html_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
## 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 <http://rmarkdown.rstudio.com>.
...
And so on. What I want is to have the default look like this:
---
title: "Example Report"
author: "segreenb"
date: "7/30/2019"
output:
pdf_document:
toc: yes
html_document:
code_folding: hide
df_print: paged
toc: yes
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE)
library(ggplot2)
library(dplyr)
library(readr)
library(reshape2)
library(knitr)
library(stringr)
library(tidyr)
```
```{r message=FALSE, echo=FALSE}
```
How can I do this?