" />
class: center, middle, inverse, title-slide # Rladies ninja presentation ## ⚔
with Xaringan and Kunoichi ###
Paula Andrea Martinez
<i class="fab fa-twitter faa-float animated "></i>@orchid00
### 2019-08-19 (updated: 2019-08-22) --- background-image: url(https://upload.wikimedia.org/wikipedia/commons/b/be/Sharingan_triple.svg) background-size: 100px background-position: 90% 8% # Sharingan <br> The R package name **xaringan** was derived from **Sharingan**, a dōjutsu in the Japanese anime _Naruto_ with two abilities: -- - the "Eye of Insight" - the "Eye of Hypnotism" -- <br> "I think a presentation is basically a way to communicate insights to the audience, and a great presentation may even "hypnotize" the audience." - by Yihui Xie. --- class: middle center bg-main1 # Kunoichi #⚔ #くノ一 # 女 -- ## The Japanese word for female ninja -- <img src="https://emitanaka.org/ninja-theme/themes/kunoichi/images/kunoichi.svg" width="20%"> --- class: middle ## Now Kunoichi is a theme of latest version of `xaringan` --- class: inverse, center, middle bg-main1 # Get Started --- # Let's do this together <br> Install the **xaringan** package from **GitHub**
<i class="fab fa-github faa-float animated "></i>@yihui
[https://github.com/yihui/xaringan](https://github.com/yihui/xaringan) <br> ```r devtools::install_github("yihui/xaringan") ``` <br><br> Thank you **Yihui Xie**
<i class="fab fa-twitter faa-float animated "></i>@xieyihui
<br> [https://twitter.com/xieyihui](https://twitter.com/xieyihui) --- class: split-three .row.bg-white[.content[ # Create a new R markdown file You are recommended to use the [RStudio IDE](https://www.rstudio.com/products/rstudio/). ``` 1. New Project 2. From the menu: File > New File > R Markdown > Template > From Template > Ninja presentation ``` ]] .row.bg-gray100[.content[ ### then add/modify the YAML ``` output: xaringan::moon_reader: css: ["kunoichi", "ninjutsu" "rladies-fonts"] ``` ]] .row.bg-main1[.content[ <br> Thank you **Emi Tanaka**
<i class="fab fa-twitter faa-float animated "></i>@statsgen
<i class="fab fa-github faa-float animated "></i>emitanaka
<br> <br> Thank you **Alison Hill**
<i class="fab fa-twitter faa-float animated "></i>@apreshill
<i class="fab fa-github faa-float animated "></i>@apreshill
]] --- class: middle center bg-main1 # YAY!! ## that's pretty much it! <img src="https://emitanaka.org/ninja-theme/themes/kunoichi/images/kunoichi.svg" width="20%"> --- ## To see results <br> - Click the **Knit** button to compile it; in other words to generate the HTML from Markdown. <br> - or use the [RStudio Addin](https://rstudio.github.io/rstudioaddins/) "Infinite Moon Reader" to live preview the slides (every time you update and save the Rmd document, the slides will be automatically reloaded in RStudio Viewer. With this option it is recomended to use <br> ` r options(servr.daemon = TRUE)` <br> To avoid locking up your console while compiling. I added this to the Rmd. --- # Other recommended reading 1. The [remark.js](https://remarkjs.com) library; a simple, in-browser, Markdown-driven slideshow tool. 1. The [**xaringan**](https://github.com/yihui/xaringan) package to create R markdown presentations, from Yihui Xie. 1. The [**kunoichi**](https://github.com/emitanaka/ninja-theme) theme to add R-ladies flavour to your presentation, from Emi Tanaka. 1. [Rladies theme and fonts](https://alison.rbind.io/post/2017-12-18-r-ladies-presentation-ninja/) from Alison Hill. --- class: middle center bg-main1 # Extras --- class: split-two white .column.bg-white[.content[ <img src="images/dcossyle__navegating.PNG" width="80%"> ]] .column.bg-main1[.content.vmiddle.center[
<i class="fab fa-instagram faa-float animated "></i>dcossyle
<br> [https://www.instagram.com/dcossyle/](https://www.instagram.com/dcossyle/) <br>
<i class="fab fa-twitter faa-float animated "></i>dcossyle
<i class="fab fa-github faa-float animated "></i>dcossyleon
<br> * look for cute giraffes <br> [https://tinystats.github.io/teacups-giraffes-and-statistics/index.html](https://tinystats.github.io/teacups-giraffes-and-statistics/index.html) ]] --- class: middle center <img src="images/small_ahosrt__dplyr_wrangling.png" width="60%">
<i class="fab fa-github faa-float animated "></i>allisonhorst
[https://github.com/allisonhorst/stats-illustrations](https://github.com/allisonhorst/stats-illustrations) --- # Tables If you want to generate a table, you can do something like this: ### R-Ladies Brisbane events so far ```r DT::datatable(events[,c(1,2,6,7)], fillContainer = FALSE) ```
--- class: middle center <img src="images/RSVP_RladiesBrisbane.png"> See `scripts/01_rladiesBrisbane.R` --- class: middle center <img src="images/MembersJoined.png"> See `scripts/01_rladiesBrisbane.R` --- class: middle center bg-main1 # Thanks! Slides created via the R package **xaringan** [https://github.com/yihui/xaringan](https://github.com/yihui/xaringan) <br> and the theme **Kunichio** [https://github.com/emitanaka/ninja-theme](https://github.com/emitanaka/ninja-theme). <br><br> Jumping emogies optional from **anicon** [https://github.com/emitanaka/anicon](https://github.com/emitanaka/anicon). <br><br> Xaringan uses **remark.js** [https://remarkjs.com](https://remarkjs.com), **knitr**[http://yihui.name/knitr](http://yihui.name/knitr), and R Markdown [https://rmarkdown.rstudio.com](https://rmarkdown.rstudio.com). <br><br> I've used a lot of data wrangling and googling, and was inspired by many **RLadies** .