为什么kable_styling()
在此管道中使用时,第一列会出现在 html 标记中的表格之外?
---
title: "Untitled"
output: html_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
```{r results='asis'}
x <- data.frame(v1=c("1", "2"),
v2=c("3", "4"))
library(knitr)
library(kableExtra)
x %>%
kable("html") %>%
kable_styling()
```