Description Usage Arguments Details Value Methods (by class)
View source: R/translate_to_LaTeX.R
Translate_to_LaTeX calls latexTranslate
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | 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.
data.frame
: Applies latexTranslate
to
rownames(x)
, colnames(x)
and all columns of x
.
list
: Translates all elements of x
.
character
: As latexTranslate
.
numeric
: Casts to character and then translates.
factor
: Translates the levels of the factor.
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.