tex | R Documentation |
Export object to TeX
tex(x, zero_as_dot = FALSE, matstr = NULL, ...)
x |
A |
zero_as_dot |
Print zero as dots |
matstr |
Replace |
... |
Other arguments passed along |
if (has_sympy()) { S <- matrix_sym_symmetric(3, "s") S[1, 2] <- "1-x" S tex(S) tex(S, matstr = "pmatrix") tex(S, matstr = c("pmatrix", "r")) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.