0

我需要一些 R 代码来自动生成乳胶代码来打印矩阵(要包含在论文中)。例如,考虑矩阵

mm<-diag(5)

我想要一个将元素 (2,3) 连接到 (1,4) 的双箭头。这是我在这里看到的更简单的版本

https://tex.stackexchange.com/questions/558519/tikz-matrix-library-corner-to-corner-arrows-between-cells-may-come-in-reverse-o

即类似的东西

https://tex.stackexchange.com/questions/163174/table-with-arrows-between-cells

基于 kableExtra 或 huxtable 的解决方案将是理想的!谢谢。

4

0 回答 0