knitr::opts_chunk$set(echo = TRUE,
                      warning = FALSE,
                      message = FALSE,
                      comment = "")
xaringanExtra::use_tile_view()
xaringanExtra::use_panelset()
xaringanExtra::use_webcam()
xaringanExtra::use_editable()
xaringanExtra::use_extra_styles(
  hover_code_line = TRUE,         
  mute_unhighlighted_code = TRUE  
)

Slide 1

This is a sentence. This text is bold. This is another sentence.


A panelset example

Here is some bold text

.panelset[ .panel[.panel-name[Code]

library(ggplot2)
library(palmerpenguins)

ggplot(data = penguins,
       aes(x = body_mass_g,
           y = bill_length_mm,
           color = species,
           shape = sex)) + 
  geom_point() + 
  theme_bw()

for (i in letters){
  print(i)
}

] .panel[.panel-name[Plot]

library(ggplot2)
library(palmerpenguins)

ggplot(data = penguins,
       aes(x = body_mass_g,
           y = bill_length_mm,
           color = species,
           shape = sex)) + 
  geom_point() + 
  theme_bw()

]

]


Editable example

This is .can-edit[editable]

.can-edit[ - one - 2 - III

]



thisisdaryn/drnotebooks documentation built on July 25, 2020, 8:29 a.m.