TeX Matrix
as_tex_matrix.Rd
TeX Matrix
Examples
as_tex_matrix(diag(1:2, nrow = 2, ncol = 3))
#> [1] "\\begin{pmatrix}\n 1 & 0 & 0 \\\\\n 0 & 2 & 0 \\\\\n\\end{pmatrix}"
as_tex_matrix.Rd
TeX Matrix
as_tex_matrix(diag(1:2, nrow = 2, ncol = 3))
#> [1] "\\begin{pmatrix}\n 1 & 0 & 0 \\\\\n 0 & 2 & 0 \\\\\n\\end{pmatrix}"