【发布时间】:2018-03-23 20:10:42
【问题描述】:
关注this example,这就是我所拥有的
# iris
This section is about the iris dataset
```{r, echo=FALSE, message=FALSE, warning=FALSE}
kable(head(iris[, 1:2]), format = "html") %>%
kable_styling(bootstrap_options = c("striped", "hover"), full_width = FALSE, position = "float_right")
```
# mtcars
This section is about the mtcars dataset
```{r, echo=FALSE, message=FALSE, warning=FALSE}
kable(head(mtcars[, 1:2]), format = "html") %>%
kable_styling(bootstrap_options = c("striped", "hover"), full_width = FALSE, position = "float_right")
```
但输出看起来像这样:
如何使 mtcars 部分显示在 iris 部分下方?
【问题讨论】:
标签: r r-markdown knitr kable kableextra