--- title: "Slidyã¹ã©ã¤ã" author: "@kohske" output: slidy_presentation: footer: "Copyright (c) 2015, @kohske" --- # ã»ã¯ã·ã§ã³è¦åºã ## ãã¼ã¸è¦åºã ã¤ã³ã¯ãªã¡ã³ã¿ã«ãªã¹ãï¼ï¼æ®µçµ > - é£ã¹ã > - 飲ã > - 太ã ## ã³ã¼ããå ¥ãã ããããã³ã¼ããæ¸ãã¾ããã ```{r eval=FALSE} library(dplyr) installed.packages() %>% rownames() %>% sapply(packageDescription, fields = "Author") %>% grepl("Hadley", .) %>% mean() %>% paste0("Your Hadley-index is ", .) ``` ãã§ã¼ã³ããã§ã¼ã³ï¼ï¼ ## ã°ã©ã!! ãã£ãããªã®ã§ã[`dygraphs`](http://dygraphs.com/)!! ```{r echo=FALSE} library(dygraphs) lungDeaths <- cbind(mdeaths, fdeaths) dygraph(lungDeaths) %>% dySeries("mdeaths", label = "Male") %>% dySeries("fdeaths", label = "Female") %>% dyOptions(stackedGraph = TRUE) %>% dyRangeSelector(height = 20) ``` ## ãã¼ãã« ããããªè¡¨ãåºåãã¦ããã¾ãã ```{r echo=FALSE} knitr::kable(head(mtcars)) ``` ## javascriptãã¼ãã« ãã£ãããªã®ã§ã[`DataTables`](https://www.datatables.net/)!! ```{r echo=FALSE} library(DT) datatable(mtcars, list(pageLength = 8)) ``` ## ãã¤ã¢ã°ã©ã !! 飲ã¿éã注æ!! ```{r echo=FALSE} library(DiagrammeR) grViz(' digraph { rankdir=LR node [shape = box, style = rounded, fontname = Helvetica] 太ã [shape = egg] é£ã¹ã -> 飲ã 飲ã -> 飲ã 飲ã -> é ã 飲ã -> å¯ã é ã -> 太ã å¯ã -> 太ã } ') ``` ## çµããã« Enjoy!!