Learn R Programming

umx (version 1.9.1)

umx_set_table_format: umx_set_table_format

Description

Set knitr.table.format default (output style for tables). Legal values are "latex", "html", "markdown", "pandoc", and "rst".

Usage

umx_set_table_format(knitr.table.format = NULL, silent = FALSE)

Arguments

knitr.table.format

format for tables (if empty, returns the current value of knitr.table.format)

silent

If TRUE, no message will be printed.

Value

- Current knitr.table.format setting

References

- http://tbates.github.io, https://github.com/tbates/umx

See Also

Other Get and set: umx_get_checkpoint, umx_set_auto_plot, umx_set_auto_run, umx_set_checkpoint, umx_set_condensed_slots, umx_set_cores, umx_set_optimizer, umx_set_plot_file_suffix, umx_set_plot_format

Examples

Run this code
# NOT RUN {
library(umx)
umx_set_table_format() # show current state
old = umx_set_table_format() # store existing value
umx_set_table_format("latex")
umx_set_table_format("html")
umx_set_table_format("markdown")
umx_set_table_format("") # get available options
umx_set_table_format(old)    # reinstate
# }

Run the code above in your browser using DataLab