tex_list | R Documentation |
Export object to TeX
tex_list(..., x = NULL, zero_as_dot = FALSE, matstr = NULL)
... |
Objects to be put in tex for. Can be |
x |
A such objects described above. |
zero_as_dot |
Print zero as dots |
matstr |
Replace |
if (has_sympy()) {
X <- matrix_sym(4,2,"a")
b <- vector_sym(2,"b")
y <- vector_sym(4,"y")
tex_list(y, "=", X, b)
tex_list(x=list(y, "=", X, b))
M <- iris[1:3, 1:2]
tex_list(M, "+", M, "=", M + M)
tex_list(x=list(M, "+", M, "=", M + M))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.