| Hao Zhu | d4f5498 | 2020-10-07 16:26:35 -0400 | [diff] [blame] | 1 | --- |
| 2 | title: "In-table Plots" | ||||
| 3 | output: | ||||
| 4 | html_document: | ||||
| 5 | theme: cosmo | ||||
| 6 | --- | ||||
| 7 | |||||
| 8 | ```{r, include=F} | ||||
| 9 | knitr::opts_chunk$set(warning = F, message = F) | ||||
| 10 | ``` | ||||
| 11 | |||||
| Hao Zhu | f6b60e8 | 2020-10-21 18:58:19 -0400 | [diff] [blame^] | 12 | Sometimes it's a delight to see plots in a table. Here we provide some examples and recipes on some common situation. We will use the following packages. |
| Hao Zhu | d4f5498 | 2020-10-07 16:26:35 -0400 | [diff] [blame] | 13 | |
| 14 | |||||
| 15 | ```{r} | ||||
| 16 | library(kableExtra) | ||||
| 17 | library(plotly) | ||||
| 18 | library(sparkline) | ||||
| 19 | library(tidyverse) | ||||
| 20 | ``` | ||||
| 21 | |||||
| 22 | |||||