# At top --- title: output: revealjs::revealjs_presentation: theme: white css: white-edits.css highlight: tango transition: slide self_contained: false reveal_plugins: ["chalkboard","search"] transitionSpead: fast mathjax: "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS_SVG" reveal_options: minScale: 1.0 maxScale: 1.0 width: 1024 height: 768 slideNumber: true controlsTutorial: true chalkboard: theme: whiteboard readOnly: false --- # Below title ```{r helpers, echo=FALSE, warning=FALSE} library(knitr) library(kableExtra) html_df <- function(text, cols=NULL, col1=FALSE, full=F) { if(!length(cols)) { cols=colnames(text) } if(!col1) { kable(text,"html", col.names = cols, align = c("l",rep('c',length(cols)-1))) %>% kable_styling(bootstrap_options = c("striped","hover"), full_width=full) } else { kable(text,"html", col.names = cols, align = c("l",rep('c',length(cols)-1))) %>% kable_styling(bootstrap_options = c("striped","hover"), full_width=full) %>% column_spec(1,bold=T) } } ```