tex {caracas} | R Documentation |
Export object to TeX
Description
Export object to TeX
Usage
tex(x, zero_as_dot = FALSE, matstr = NULL, ...)
Arguments
x |
A |
zero_as_dot |
Print zero as dots |
matstr |
Replace |
... |
Other arguments passed along |
Examples
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"))
}
[Package caracas version 2.1.1 Index]