You are here

Revision of omxGraphviz help (making path diagrams) from Sun, 10/18/2009 - 07:10

Revisions allow you to track differences between multiple versions of your content, and revert back to older versions.

Wiki home pageOpenMx can output path diagrams using the dot syntax.

You can learn about this language for describing path diagrams at several online tutorials.

The R for generating a path diagram from a model is straightforward:

     omxGraphviz(model, dotFileName="")

(currently for RAM models only)

If you leave parameter 2 blank, the dot file will be output into the R console.

There's an example of usage here

Rendering the output

The output is just a linguistic description of the nodes and edges of your diagram - to visualise it, this must be processed by an application such as graphvis.

Other programmes that can read .dot include Omnigraffle.

Please add material here as you learn...
If you have questions not answers, then add those here: That's how a wiki works.

Comments

The example on this page:
omxGraphviz(model, dotFileName="")
should be
omxGraphviz(model, dotFilename="")
(i.e., "Name" written as "name"), otherwise R does not understand it.
Cheers,
- Kimmo