matrix_block | R Documentation |
Creates from an inline chunk output that resembles a regular RMarkdown chunk, but with more compact formatting.
matrix_block( cmd, digits = 4, ignore_cmd = FALSE, phrase = " ", display = FALSE, inline = TRUE, width = "40%" )
cmd |
The expression to be run |
digits |
How many digits to round to |
ignore_cmd |
If TRUE, just typeset the result |
phrase |
Character string separating code from output |
display |
If TRUE, use $$ rather than single $ |
inline |
If TRUE, typeset the output next to the command |
width |
Character string such as "40%" saying how big the command block should be. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.