umx (version 1.9.1)

umx_get_checkpoint: umx_get_checkpoint

Description

get the checkpoint status for a model or global options

Usage

umx_get_checkpoint(model = NULL)

Arguments

model

an optional model to get options from

Value

- NULL

References

- http://tbates.github.io

See Also

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

Examples

Run this code
# NOT RUN {
umx_get_checkpoint() # current global default
require(umx)
data(demoOneFactor)
latents  = c("G")
manifests = names(demoOneFactor)
m1 <- umxRAM("One Factor", data = mxData(cov(demoOneFactor), type = "cov", numObs = 500),
	umxPath(latents, to = manifests),
	umxPath(var = manifests),
	umxPath(var = latents, fixedAt = 1)
)
m1 = umx_set_checkpoint(interval = 2, model = m1)
umx_get_checkpoint(model = m1)
# }

Run the code above in your browser using DataLab