```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE)
```

## R Syntax

&nbsp;

<center>

R as a passive-aggressive butler

```{r, echo=FALSE, out.width="40%", fig.cap=""}
knitr::include_graphics("img/butler-alfred-sm.png")
```

</center>

## What you will learn

&nbsp;

- Setting up a script: best practice
- Math operators
- Logical (Boolean) operators
- a note about **base R** versus **Tidyverse**
- Practice exercises

## Using the Bootcamp

&nbsp;

<center>

> To get the most out of the Bootcamp, work through the instructions while using R and RStudio as you go along

```{r, echo=FALSE, out.width="40%", fig.cap=""}
knitr::include_graphics("img/fun-meme.jpg")
```

</center>

## First script

&nbsp;

```{r script, echo=T}
## HEADER ####
## Who: <YOUR NAME>
## https://dsgarage.netlify.app/
## What: 1.1 R syntax basics
## Last edited: <DATE TODAY in yyyy-mm-dd format)
####


## CONTENTS ####
## 1.1.1 Example script, help, pseudocode  
## 1.1.2 Math operators  
## 1.1.3 Logical Boolean operators  
## 1.1.4 Regarding base R and the Tidyverse   
## 1.1.5 Practice exercises  

```

## Type it yourself

&nbsp;

<center>

```{r, echo=FALSE, out.width="80%", fig.cap=""}
knitr::include_graphics("img/copy-paste.jpg")
```

</center>

## Exercises

&nbsp;

Each Bootcamp page has **Exercises**

One question is always  **write your own question**

**Share questions you have written**

**categorize them** *Easy*, *Medium*, or *Hard*

