View source: R/translate_to_LaTeX.R
translate_to_LaTeX | R Documentation |
Translate_to_LaTeX calls latexTranslate
.
translate_to_LaTeX(x, ...)
## S3 method for class 'data.frame'
translate_to_LaTeX(x, ...)
## S3 method for class 'list'
translate_to_LaTeX(x, ...)
## S3 method for class 'character'
translate_to_LaTeX(
x,
inn = NULL,
out = NULL,
pb = FALSE,
greek = FALSE,
na = "",
...
)
## S3 method for class 'numeric'
translate_to_LaTeX(x, ...)
## S3 method for class 'factor'
translate_to_LaTeX(x, ...)
## S3 method for class 'logical'
translate_to_LaTeX(x, ...)
x |
An object. |
inn , out , pb , greek , na , ... |
As in |
Result is suitable for print with latex
.
Translate_to_LaTeX uses S3 object system. See seection methods.
Same length as x
, now translated to latex.
translate_to_LaTeX(data.frame)
: Applies latexTranslate
to
rownames(x)
, colnames(x)
and all columns of x
.
translate_to_LaTeX(list)
: Translates all elements of x
.
translate_to_LaTeX(character)
: As latexTranslate
.
translate_to_LaTeX(numeric)
: Casts to character and then translates.
translate_to_LaTeX(factor)
: Translates the levels of the factor.
translate_to_LaTeX(logical)
: Casts to character and then translates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.