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 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 with text and some code
head(iris)
class: inverse, center, middle
Dark background
class: center, middle
Light background
class: center, top
Top align
class: center, bottom
Bottom align
class: left, middle
Left align
.left[Left align]
.center[Centered]
.right[Right align]
.tiny[Tiny]
.small[Small]
Normal
.large[Large]
.huge[Huge]
.tinycode[
head(iris)
]
.largecode[
head(iris)
]
Show
--
this
--
text
--
incrementally
.pull-left[ On the left:
text
code
images ]
.pull-right[ On the right:
text
code
images ]
.left-column[ On the left:
text
code
images ]
.right-column[ On the right:
text
code
images ]
.pull-left[
plot(iris$Sepal.Length, iris$Sepal.Width)
] .pull-right[
]
.pull-left[
plot(iris$Sepal.Length, iris$Sepal.Width)
] .pull-right[
]
library(dplyr) iris %>% filter(Species == "setosa") #<<
library(dplyr) iris %>% filter(Species == "setosa")
library(dplyr) iris %>% filter(Species == "setosa")
class: inverse, center, middle
background-image: url(http://bit.ly/arm-greens) background-size: cover
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%
To stop including logo, use layout: false
layout: false
That's all
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.