Re: [R] Creating DAGS with plate notation in R

2013-08-02 Thread Raghu Naik
Thanks Sacha. The code works well although, as you alluded, the plates are being drawn after some positional fine tuning. I was hoping that the plates could come out automatically as they do in graphviz. Possibly, whenever you get to it, your package can alleviate that. Cheers. On Thu, Aug 1

Re: [R] Creating DAGS with plate notation in R

2013-08-01 Thread Sacha Epskamp
Here is a way to do it with qgraph. Requires lots of manual placement though. I have been asked before to write a package to do these kind of graphics automatically from R given some model. Might do it eventually :) library("qgraph") # Placement of nodes: Layout <- matrix(c( 1,1, 2,1, 3,1,

Re: [R] Creating DAGS with plate notation in R

2013-07-02 Thread Raghu Naik
The image did not come through as pointed out by a list member. I have attached a pdf image file; the link is http://stackoverflow.com/questions/3461931/software-to-draw-graphical-models-in-plate-notation . Cheers. Raghu On Tue, Jul 2, 2013 at 9:42 AM, Raghu Naik wrote: > I am trying to creat

[R] Creating DAGS with plate notation in R

2013-07-02 Thread Raghu Naik
I am trying to create a directed graph with plate notation (like the one shown below) in R. [image: The output image] Could someone direct to me an example code that will get me started. I could not see any reference to plate notations in igraph, qgraph packages though I may be wrong. The above