umxPlotCP: Draw and display a graphical figure of Common Pathway model

umxPlotCPR Documentation

Draw and display a graphical figure of Common Pathway model

Description

Options include digits (rounding), showing means or not, and which output format is desired.

Usage

umxPlotCP(
  x = NA,
  means = FALSE,
  std = TRUE,
  digits = 2,
  showFixed = TRUE,
  file = "name",
  format = c("current", "graphviz", "DiagrammeR"),
  SEstyle = FALSE,
  strip_zero = TRUE,
  showCIs = TRUE,
  ...
)

Arguments

x

The umxCP() Common Pathway to display graphically

means

Whether to show means paths (defaults to FALSE)

std

Whether to standardize the model (defaults to TRUE)

digits

How many decimals to include in path loadings (defaults to 2)

showFixed

Whether to graph paths that are fixed but != 0 (default = TRUE)

file

The name of the dot file to write: NA = none; "name" = use the name of the model

format

= c("current", "graphviz", "DiagrammeR")

SEstyle

use mxSE "b (se)" instead of mxCI "b [lower, upper]" (Default FALSE)

strip_zero

Whether to strip the leading "0" and decimal point from parameter estimates (default = TRUE)

showCIs

Whether to show confidence intervals (default = TRUE)

...

Optional additional parameters

Value

  • Optionally return the dot code

References

https://tbates.github.io

See Also

  • plot(), umxSummary() work for IP, CP, GxE, SAT, and ACE models.

  • umxCP()

Other Plotting functions: ggAddR(), plot.MxLISRELModel(), plot.MxModel(), plot.MxModelTwinMaker(), umx, umxPlot(), umxPlotACE(), umxPlotACE_DE(), umxPlotACE_GLM(), umxPlotACEcov(), umxPlotACEv(), umxPlotDoC(), umxPlotFun(), umxPlotGxE(), umxPlotGxEbiv(), umxPlotIP(), umxPlotPredict(), umxPlotSexLim(), umxPlotSimplex()

Examples

## Not run: 
require(umx)
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!

## End(Not run)

umx documentation built on Oct. 11, 2026, 5:07 p.m.