umxPlotIP: Draw a graphical figure for a Independent Pathway model

umxPlotIPR Documentation

Draw a graphical figure for a Independent Pathway model

Description

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

Usage

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

Arguments

x

The umxIP() model to plot

file

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

digits

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

means

Whether to show means paths (defaults to FALSE)

std

Whether to standardize the model (defaults to TRUE)

showFixed

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

format

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

SEstyle

Report "b (se)" instead of "b [lower, upper]" (Default)

strip_zero

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

...

Optional additional parameters

Value

  • optionally return the dot code

References

See Also

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

  • umxIP()

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

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") # These will be expanded into "gff_T1" "gff_T2" etc.
m1 =    umxIP(selDVs = selDVs, sep = "_T", dzData = dzData, mzData = mzData)
plot(model)
umxPlotIP(model, file = NA)

## End(Not run)

umx documentation built on May 29, 2024, 5:40 a.m.