View source: R/save_tex_value.R
format_values | R Documentation |
Formats values for lyx
format_values(values, percent, accuracy, digits, translate)
values |
Numeric, character or logical vector of values to be saved. Logical values will be saved as character. |
percent |
Logical scalar or vector. If |
accuracy |
A number to round percent values to. Use (e.g.) 0.01 to show 2 decimal places of precision. Defaults to 1 i.e round to the nearest integer. |
digits |
The desired number of digits after the decimal point for numeric non-percent values. Defaults to 2 digits after the decimal point. |
translate |
Logical indicating whether to save values in LaTeX format.
See |
A formatted character vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.