library(mat2tex)
as.texcode
set.seed(1) A <- matrix(runif(4), 2) xx(A)
B <- matrix(letters[1:15], 3) xx(B)
L <- matrix(c(T,F,T,F), 2) xx(L)
a <- as.data.frame(A) xx(a)
xx(iris[1:5, ])
xx(1:3)
xx(t(1:3))
xx(1)
xx("x=y")
xx(letters[1:3])
xx(t(letters[1:3]))
xx(T)
xx(c(T,F))
xx(t(c(T,F)))
xx(xmt(A)) mat2tex_options(transpose.sign="^\\intercal") xx(xmt(A))
xx(A, A, digits=4) xx(xm(A, 4), A)
A[1,1] <- NA xx(A) xx(A, na="missing") mat2tex_options(na="-") xx(A)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.