knitr::opts_chunk$set(echo = FALSE, fig.retina=3, #out.width = "100%", cache = FALSE, message = FALSE, warning = FALSE, fig.show = TRUE, hiline = TRUE) library(palmerpenguins) library(ksnet) library(dplyr) library(ggplot2)
library(xaringanthemer) style_mono_accent( base_color = "#00b2a9", header_font_google = google_font("Public Sans"), text_font_google = google_font("Public Sans"), code_font_google = google_font("Fira Mono") )
Esta es una presentación KSNET. Se puede incluir texto en negrita y también en cursiva. También se puede incluir texto con formato de código
.
Esto es una lista con guiones
Punto segundo
Punto tercero
class: inverse
Esta es una slide con colores inversos
Y esto una lista numerada
Segundo punto
Tercer punto
class: inverse center middle
Esta es una slide con colores inversos, y con el texto centrado.
También se puede incluir texto en forma de cita:
Let us change our traditional attitude to the construction of programs: Instead of imagining that our main task is to instruct a computer what to do, let us concentrate rather on explaining to human beings what we want a computer to do. - Donald Knuth
--
Con dos guiones, se puede crear texto que aparezca secuencialmente.
En la presentación se pueden incluir tablas también:
penguins %>% head(5) %>% ksnet_table()
penguins %>% ggplot(aes(x = species, fill = species)) + geom_bar() + theme_ksnet() + facet_wrap(~sex) + scale_fill_ksnet_discrete() + labs(title = "KSNET") + guides(fill = "none")
.pull-left[
]
.pull-right[
]
.pull-left[
Esta es la columna de la izquierda.
A la derecha, podéis ver el gráfico.
]
.pull-right[
penguins %>% ggplot(aes(x = species, fill = species)) + geom_bar() + theme_ksnet() + scale_fill_ksnet_discrete() + labs(title = "KSNET")
]
class: inverse center middle
knitr::include_graphics("logo.png")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.