Learn R Programming

umx (version 1.4.0)

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)

Arguments

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

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_format

Examples

Run this code
library(umx)
old = umx_set_table_format() # get 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