umx (version 1.9.1)

umx_set_auto_plot: umx_set_auto_plot

Description

Set autoPlot default for models like umxACE umxGxE etc.

Usage

umx_set_auto_plot(autoPlot = NULL, silent = FALSE)

Arguments

autoPlot

If TRUE, sets the umx_auto_plot option. Else returns the current value of umx_auto_plot

silent

If TRUE, no message will be printed.

Value

- Current umx_auto_plot setting

References

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

See Also

Other Get and set: umx_get_checkpoint, 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, umx_set_table_format

Examples

Run this code
# NOT RUN {
library(umx)
umx_set_auto_plot() # print current state
old = umx_set_auto_plot(silent = TRUE) # store existing value
umx_set_auto_plot(TRUE)   # set to on (internally stored as "name")
umx_set_auto_plot(FALSE)  # set to off (internally stored as NA)
umx_set_auto_plot(old)    # reinstate
# }

Run the code above in your browser using DataLab