rmd_vec_mat | R Documentation |
The generic conversion takes a matrix and converts it into one of the constructs recognized by Rmarkdown as described on https://bookdown.org/yihui/rmarkdown/markdown-syntax.html.
rmd_vec_mat(
pmat,
ps_name = NULL,
ps_equal_sign = "=",
ps_env = NULL,
ps_out_type = "array",
ps_out_format = "html"
)
pmat |
matrix to be converted to Rmarkdown |
ps_name |
variable name for the matrix |
ps_equal_sign |
equal sign to be used when a variable name is given |
ps_env |
math environment in which matrix should be presented |
ps_out_type |
one of the output types available in Rmarkdown |
ps_out_format |
output format produced |
— title: Vectors and Matrices in Rmarkdown date: 2020-05-25 —
This function is not called directly, but is used by different wrappers for the different output types.
sresult String containing Rmarkdown representation of given vector or matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.