-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.Rmd
26 lines (20 loc) · 911 Bytes
/
index.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
title: "Code Organization"
description: |
Functions, Lists, and Loops
site: distill::distill_website
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE)
```
It's never too late to start organizing code! It's a step towards cleaner scripts which not only benefit the machines that execute it but the humans who are reading and understanding the logic. We'll go over three essentials of programming (in R) that can help us remove redundant code and efficiently process and store multiple objects. With these tools: functions, lists, and loops, your scripts can become more concise and easier to navigate.
```{r embed-xaringan, echo=FALSE, fig.cap="[Slides](slides/index.html)"}
xaringanExtra::embed_xaringan(url = "slides/slides.html", ratio = "16:9")
```
<aside>
Shortcut Keys
- `f`: full-screen
- `Esc`: exit full-screen
- `o`: tile view
- left or right arrow: advance slide
</aside>