latexformat: latexformat function
Description
A function to format text or numeric variables using scientific notation for LaTeX documents.
Usage
latexformat(x, digits = 3, scientific = -3, ...)
Arguments
- x
a numeric, or character
- digits
see ?format
- scientific
see ?format
- ...
other arguments to pass to the function format