Table 带有项目符号点和协调计数

Table with Bullet points and coordinating counts

好久没发帖了。我正在尝试创建一个如下所示的 table:

但是,我一直无法完成这个任务。此 table 是 r-Markdown 文档的一部分。这是我到目前为止的代码:

library(kableExtra)

Fact_Fig19_20 <- data.frame(Facts=c("\# of Dual Enrollment Students (2019-2020)","\# of Dual Enrollment Students enrolled as Dual (2020-2021) Retention","\# of Dual Enrollment Staudents enrolled as FTF in Fall 2020","\# of Dual Enrollment Students enrolled as FTF in Spring 2021", "\# Dual Enrollment Students enrolled Non-SCTCS \n 
                              \begin{itemize}
                                \item - Non-SCTCS 2-year\n
                                 \item - Non-SCTCS 4-year
                              \end{itemize}","\# of Dual Enrollment Students Unknown Status"), Counts=c(100, 60, 10, 10,10,10)) #the fourth entry in this vector needs to be broken down into 5 #and 5

更具体地说,我在处理 table 的第 4 行时遇到问题,其中同一单元格中存在 2 个值。任何指导都会有所帮助。提前致谢!

我假设你想要 pdf 格式的乳胶 table,所以你可以尝试手动方法:

```{=latex}
\begin{center}
\begin{tabular}{ |l|r| } 
 \hline
 \# of Dual Enrollment Students (2019-2020) & 100\ \hline 
 \# of Dual Enrollment Students enrolled as Dual (2020-2021) Retention & 60 \ \hline 
 \# of Dual Enrollment Students enrolled as FTF in Fall 2020 & 10  \ \hline
 \# of Dual Enrollment Students enrolled as FTF in Spring 2021 & 10  \ \hline
 \# Dual Enrollment Students enrolled Non-SCTCS  &  \ 
   \hspace{10mm}- Non-SCTCS 2-year &  5\
   \hspace{10mm}- Non-SCTCS 4-year &  5\ \hline
\# of Dual Enrollment Students Unknown Status & 10 \
\hline
\end{tabular}
\end{center}
```