View source: R/array_to_vector_equation.R
array_to_vector_equation | R Documentation |
Convert an R array into a LaTeX system of equations for easy writing in Rmarkdown
array_to_vector_equation(A, b)
A |
An array to convert to Latex format |
b |
A vector to convert to Latex format |
A string that can be put into an Rmarkdown document by using cat()
to direct the output
latex_string <- array_to_latex(matrix(1:6, 3, 2)) # within Rmarkdown chunk # cat(latex_string)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.