Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

umx_set_plot_format

Set output format of plots (structural diagrams) in umx


Description

Set output format of plots (default = "DiagrammeR", alternative is "graphviz"). If you call this with no value, it will return the current setting. If you call it with TRUE, it toggles the setting.

Usage

umx_set_plot_format(umx.plot.format = NULL, silent = FALSE)

Arguments

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.

Value

  • Current umx.plot.format setting

References

See Also

Examples

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

umx

Structural Equation Modeling and Twin Modeling in R

v4.10.10
GPL-3
Authors
Timothy C. Bates [aut, cre] (<https://orcid.org/0000-0002-1153-9007>), Gillespie Nathan [wit], Michael Zakharin [wit], Brenton Wiernik [ctb], Joshua N. Pritikin [ctb], Michael C. Neale [ctb], Hermine Maes [ctb]
Initial release
2021-11-30

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.