"plot"(x = NA, std = FALSE, digits = 2, file = "name", pathLabels = c("none", "labels", "both"), fixed = TRUE, means = TRUE, resid = c("circle", "line", "none"), showFixed = TRUE, showMeans = NULL, ...)mxModel from which to make a path diagramOn unix and windows, plot() will create a pdf and open it in your default pdf reader.
If you use umx_set_plot_format("graphviz"), files will open in with a graphviz helper.
Note: DiagrammeR is supported out of the box. If you use graphviz, we try and use that app, but YOU HAVE TO INSTALL IT! On OS X we try and open an app: you may need to associate the .gv extension with the graphviz app. Find the .gv file made by plot, get info (cmd-I), then choose open with, select Graphviz.app (or OmniGraffle professional), then set change all.
umx_set_plot_format, plot.MxModel, umxPlotACE, umxPlotCP, umxPlotIP, umxPlotGxE,Other Core Modelling Functions: umxDiagnose,
umxLatent, umxMatrix,
umxPath, umxRAM,
umxReduce, umxRun,
umx
Other Plotting functions: umxPlotACEcov,
umxPlotACE, umxPlotCP,
umxPlotGxE, umxPlotIP
Other Reporting functions: RMSEA.MxModel,
RMSEA.summary.mxmodel, RMSEA,
confint.MxModel,
extractAIC.MxModel, loadings,
logLik.MxModel,
residuals.MxModel,
umxCI_boot, umxCI,
umxCompare, umxExpCov,
umxExpMeans, umxFitIndices,
umxPlotACEcov, umxPlotACE,
umxPlotCP, umxPlotGxE,
umxPlotIP,
umxSummary.MxModel,
umxSummaryACE, umx_drop_ok,
umx_standardize_RAM
Other Twin Modeling Functions: umxACESexLim,
umxACEcov, umxACE,
umxCF_SexLim, umxCP,
umxGxE_window, umxGxE,
umxIP, umxPlotACEcov,
umxPlotCP, umxPlotGxE,
umxPlotIP, umxSummaryACEcov,
umxSummaryACE, umxSummaryCP,
umxSummaryGxE, umxSummaryIP,
umx_make_TwinData, umx
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.0)
)
plot(m1)
Run the code above in your browser using DataLab