umx_set_plot_format | R Documentation |
Set output format of plots (default = "DiagrammeR::DiagrammeR()
", alternatives are graphviz, svg, png, pdf). If you call this with no
value, it will return the current setting. If you call it with TRUE, it toggles the setting.
umx_set_plot_format(umx.plot.format = NULL, silent = FALSE)
umx.plot.format |
format for plots (if empty, returns the current value of umx.plot.format). If "TRUE", then toggles |
silent |
If TRUE, no message will be printed. |
Current umx.plot.format setting
Other Get and set:
umx
,
umx_get_checkpoint()
,
umx_get_options()
,
umx_set_auto_plot()
,
umx_set_auto_run()
,
umx_set_checkpoint()
,
umx_set_condensed_slots()
,
umx_set_cores()
,
umx_set_data_variance_check()
,
umx_set_dollar_symbol()
,
umx_set_optimization_options()
,
umx_set_optimizer()
,
umx_set_plot_file_suffix()
,
umx_set_plot_use_hrbrthemes()
,
umx_set_separator()
,
umx_set_silent()
,
umx_set_table_format()
library(umx)
umx_set_plot_format() # print current state
old = umx_set_plot_format(silent = TRUE) # store current value
umx_set_plot_format("graphviz")
umx_set_plot_format("DiagrammeR")
umx_set_plot_format("png")
umx_set_plot_format("pdf")
umx_set_plot_format(old) # reinstate
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.