
474 | Capítulo 23: Formatos R Markdown
library(dplyr)
knitr::opts_chunk$set(fig.width = 5, fig.asp = 1/3
)
1
t
}
ggplot(diamonds, aes(carat)) + geom_histogram(binwidth = 0.1)
```
### Cu
t
}
ggplot(diamonds, aes(cut)) + geom_bar()
```
### Color
```{r
}
ggplot(diamonds, aes(color)) + geom_bar()
```
## Column
2
### The largest diamonds
```{r
}
%
%
%
select(carat, cut, color, price) %>
%
)
O flexdashboard também fornece ferramentas simples para criar sidebars, tabsets,
value boxes e gauges. Para aprender mais sobre flexdashboard, visite http://rmarkdown.
rstudio.com/flexdashboard/ ...