Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 R 中有一个值网格(以矩阵的形式。
那就是它看起来像
0.05 0.06 0.07 0.1 11 12 15 0.11 11 14 15 0.12 13 15 17 ...
在 tex 中显示这一点的最佳方式是什么?有没有简单的方法来做到这一点?
尝试使用 xtable 库中的 xtable 函数。
编辑:抱歉不包括示例代码: mat <- matrix(c(11, 11, 13, 12, 14, 15, 15, 15, 17), 3, 3) library(xtable) xtable(mat)
mat <- matrix(c(11, 11, 13, 12, 14, 15, 15, 15, 17), 3, 3) library(xtable) xtable(mat)