Description Usage Arguments Examples
Displaying objects of the appropriate type, typeset in LaTeX. For use with knitr/sweave.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | latex(object, ...)
## S3 method for class 'matrix'
latex(object, inline = FALSE, digits = 3,
showName = TRUE, asTranspose = FALSE, system = FALSE, ..., dispname)
## S3 method for class 'numeric'
latex(object, inline = FALSE, digits = 3,
showName = TRUE, asTranspose = FALSE, ...)
## S3 method for class 'bfs'
latex(object, inline = FALSE, digits = 3, ...)
## S3 method for class 'ep'
latex(object, inline = FALSE, digits = 3, coordinates,
xchar = "x", ...)
## S3 method for class 'lp_solution'
latex(object, digits = 3, coordinates, ...)
|
object |
Object to print in LaTeX. |
... |
Additional arguments. |
inline |
Logical; should the latex be written inline (TRUE), i.e. you have started
math mode yourself, or not inline (FALSE), i.e. an |
digits |
Number of rounding digits |
showName |
Logical; should the name of the matrix be printed? |
asTranspose |
Display as the transpose? |
system |
Logical; is this a system of equations? If so, a pipe is added to separate the last column as a right hand side. |
dispname |
Optional display name. |
coordinates |
An integer value from 1 to the length of any ep. Restricts the display (so you can throw away non-basic variables). If missing, all are displayed. |
xchar |
Character (or string I guess!) to name the solution for display purposes. |
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.