This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ```{r diamonds_{{color}}_{{cut}}_plot} | |
| diamonds %>% | |
| filter( | |
| color == "{{color}}", | |
| cut == "{{cut}}" | |
| ) %>% | |
| ggplot(aes(carat, price, colour = clarity)) + | |
| geom_point(show.legend = FALSE) + | |
| labs( | |
| title = 'Price by carat for diamonds with color {{color}} and cut {{cut}}' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| title: "loop over widgets" | |
| author: "Tutuchan" | |
| date: "14 septembre 2016" | |
| output: html_document | |
| --- | |
| ```{r setup, include=FALSE} | |
| knitr::opts_chunk$set(echo = TRUE) | |
| library(chartjs) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| title: "Flex Dashboard" | |
| output: | |
| flexdashboard::flex_dashboard: | |
| orientation: columns | |
| vertical_layout: fill | |
| horizontal_layout: fill | |
| --- | |
| ```{r setup, include=FALSE} |