
Options include digits (rounding), showing means or not, and which output format is desired.
umxPlotCP(
x = NA,
means = FALSE,
std = TRUE,
digits = 2,
showFixed = TRUE,
file = "name",
format = c("current", "graphviz", "DiagrammeR"),
SEstyle = FALSE,
strip_zero = TRUE,
...
)
The Common Pathway mxModel()
to display graphically
Whether to show means paths (defaults to FALSE)
Whether to standardize the model (defaults to TRUE)
How many decimals to include in path loadings (defaults to 2)
Whether to graph paths that are fixed but != 0 (default = TRUE)
The name of the dot file to write: NA = none; "name" = use the name of the model
= c("current", "graphviz", "DiagrammeR")
report "b (se)" instead of "b [lower, upper]" when CIs are found (Default FALSE)
Whether to strip the leading "0" and decimal point from parameter estimates (default = TRUE)
Optional additional parameters
Optionally return the dot code
plot()
, umxSummary()
work for IP, CP, GxE, SAT, and ACE models.
Other Plotting functions:
plot.MxLISRELModel()
,
plot.MxModelTwinMaker()
,
plot.MxModel()
,
umxPlotACEcov()
,
umxPlotACEv()
,
umxPlotACE()
,
umxPlotDoC()
,
umxPlotFun()
,
umxPlotGxEbiv()
,
umxPlotGxE()
,
umxPlotIP()
,
umxPlotSexLim()
,
umxPlotSimplex()
,
umx
# NOT RUN {
require(umx)
umx_set_optimizer("SLSQP")
data(GFF)
mzData = subset(GFF, zyg_2grp == "MZ")
dzData = subset(GFF, zyg_2grp == "DZ")
selDVs = c("gff", "fc", "qol", "hap", "sat", "AD")
m1 = umxCP("new", selDVs = selDVs, sep = "_T",
dzData = dzData, mzData = mzData, nFac = 3
)
# m1 = mxTryHardOrdinal(m1)
umxPlotCP(m1)
plot(m1) # No need to remember a special name: plot works fine!
# }
Run the code above in your browser using DataLab