options(htmltools.dir.version = FALSE)
options(knitr.table.format = "html")

library(knitr)
knit_hooks$set(crop = hook_pdfcrop)
opts_chunk$set(echo = TRUE, message = FALSE, warning = FALSE, 
               crop = TRUE, cache = TRUE, comment = "")

opts_chunk$set(out.width = "70%", fig.align = "center", dpi = 150)

```{css, echo=FALSE}

.remark-slide-number { display: none; }

.remark-slide-content {

font-size: 18px;

padding: 20px 80px 20px 80px;

}

.remark-slide-content p, ul, ol, li { font-size: 18px; }

.remark-code, .remark-inline-code { background: #f0f0f0; }

.remark-code { font-size: 18px; }

.hugecode .remark-code { font-size: 200% } .largecode .remark-code { font-size: 130% } .smallcode .remark-code{ font-size: 70% } .tinycode .remark-code { font-size: 50% }

.huge { font-size: 200% } .large { font-size: 130% } .small { font-size: 70% } .tiny { font-size: 50% }

.code10 .remark-code { font-size: 10%; }

.code20 .remark-code { font-size: 20%; }

.code30 .remark-code { font-size: 30%; }

.code40 .remark-code { font-size: 40%; }

.code50 .remark-code { font-size: 50%; }

.code60 .remark-code { font-size: 60%; }

.code70 .remark-code { font-size: 70%; }

.code80 .remark-code { font-size: 80%; }

.code90 .remark-code { font-size: 90%; }

---
class: inverse, center, middle

background-image: url(http://bit.ly/arm-greens)
background-size: cover

# Title slide

### My talk about xaringan

```r
include_graphics("https://avatars.githubusercontent.com/u/1597843?v=4")

.large[F. Rodríguez-Sánchez]

Universidad de Sevilla

r icons::fontawesome("link") https://frodriguezsanchez.net r icons::fontawesome("twitter") @frod_san

.small[2 October 2020]


Normal slide

Normal slide with text and some code

head(iris)

class: inverse, center, middle

Section slide

Dark background


class: center, middle

Section slide

Light background


class: center, top

Section slide

Top align


class: center, bottom

Section slide

Bottom align


class: left, middle

Section slide

Left align


Align some text

.left[Left align]

.center[Centered]

.right[Right align]


Change font size

.tiny[Tiny]

.small[Small]

Normal

.large[Large]

.huge[Huge]


Change code and output size

.tinycode[

head(iris)

]


Change code and output size

.largecode[

head(iris)

]


Incremental content

Show

--

this

--

text

--

incrementally


Two columns

.pull-left[ On the left:

text

code

images ]

.pull-right[ On the right:

text

code

images ]


Two columns (right column wider)

.left-column[ On the left:

text

code

images ]

.right-column[ On the right:

text

code

images ]


Two columns: code + plot

.pull-left[

plot(iris$Sepal.Length, iris$Sepal.Width)

] .pull-right[


]


Two columns: plot on left, code on right

.pull-left[

plot(iris$Sepal.Length, iris$Sepal.Width)

] .pull-right[


]


Highlight some lines of code

library(dplyr)
iris %>% 
  filter(Species == "setosa") #<<

Highlight output

library(dplyr)
iris %>% 
  filter(Species == "setosa") 

Highlight some lines of output

library(dplyr)
iris %>% 
  filter(Species == "setosa") 

class: inverse, center, middle

background-image: url(http://bit.ly/arm-greens) background-size: cover

Background image


layout: true

background-image: url(https://www.us.es/sites/default/files/2019-05/marca-US-principal.jpg) background-position: 0% 100%; background-size: 10%


Slide with logo

To stop including logo, use layout: false


layout: false


Link to specific slide

Go to final slide


END

That's all



Pakillo/rmdTemplates documentation built on Sept. 16, 2022, 3:04 p.m.