powered by
Export object to TeX
tex(x, zero_as_dot = FALSE, matstr = NULL, ...)
A caracas_symbol
caracas_symbol
Print zero as dots
Replace \begin{matrix} with another environment, e.g. pmatrix. If vector of length two, the second element is an optional argument.
\begin{matrix}
pmatrix
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")) }
Run the code above in your browser using DataLab