Learn R Programming

umx (version 1.9.1)

umxPlotCP: Draw a graphical figure for a Common Pathway model

Description

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

Usage

umxPlotCP(x = NA, file = "name", digits = 2, means = FALSE,
  std = TRUE, format = c("current", "graphviz", "DiagrammeR"),
  showMeans = "deprecated", ...)

Arguments

x

The Common Pathway mxModel to display graphically

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)

format

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

showMeans

deprecated: replace with just 'means'

...

Optional additional parameters

Value

- Optionally return the dot code

References

- http://tbates.github.io

See Also

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

Other Plotting functions: plot.MxModel, umxPlotACEcov, umxPlotACEv, umxPlotACE, umxPlotGxE, umxPlotIP

Other Reporting functions: RMSEA.MxModel, RMSEA.summary.mxmodel, RMSEA, extractAIC.MxModel, loadings, plot.MxModel, residuals.MxModel, umxCI_boot, umxCI, umxCompare, umxConfint, umxExpCov, umxExpMeans, umxFitIndices, umxPlotACEcov, umxPlotACEv, umxPlotACE, umxPlotGxE, umxPlotIP, umxSummary.MxModel, umxSummaryACEv, umxSummaryACE, umx_drop_ok, umx_standardize_RAM

Other Twin Modeling Functions: plot.MxModel, umxACESexLim, umxACE_cov_fixed, umxACEcov, umxACEv, umxACE, umxCF_SexLim, umxCP, umxGxE_window, umxGxE, umxIP, umxPlotACEcov, umxPlotGxE, umxPlotIP, umxReduceACE, umxSummaryACEcov, umxSummaryACEv, umxSummaryACE, umxSummaryCP, umxSummaryGxE, umxSummaryIP, umx_long2wide, umx_wide2long, umx, xmu_twin_check

Examples

Run this code
# NOT RUN {
plot(yourCP_Model) # no need to remember a special name: plot works fine!
# }

Run the code above in your browser using DataLab