xx | R Documentation |
texcode
chunks.Concatenate texcode
chunks.
xx(..., e = NA, label = NULL, digits = NA, mtype = NA, round = NA,
na = NA)
... |
|
e |
Math environment to use (numeric or string).
If |
label |
A label for the equation in case an environment is used
that supports labels, e.g. |
digits |
Number of digits to display (if matrix is numeric). |
mtype |
LaTeX matrix type, i.e. round braces, curly braces etc.
Available types are |
round |
Logical. Round numbers? If not numbers are trimmed only. |
na |
How to replace NA values? (default is |
The available math environments are
1=$$, 2=$, 3=equation, 4=equation*, 5=align, 6=align*,
7=gather, 8=gather*, 9=multiline, 10=multiline*, 11=split
.
You can either supply the corresponding numeric or the name of
the math environment in argument e
.
For Rmd
file only math environment (argument e
) 1 and 2 are relevant.
When using Rnw
files make sure to include the amsmath
package
the document preamble as most environments are defined in it.
Object of class texcode
.
Mark Heckmann
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.