Posted by & filed under LaTeX, R.

I wanted to draw arrows in LaTeX to make that predictor-outcome-confounder diagram I saw in class. I found an answer here using the xy package in LaTeX.

I used to want to draw in LaTeX. pgf and tiks looks cool, but the learning curve looks too steep for me. I opted to R’s plotting and openoffice’s drawing capabilities. However, I just discovered the picture environment in LaTeX, which is not hard at all! It is also described here.

I will post up some examples.

Here is the attached file. It is also at ScribD.

Trackbacks/Pingbacks

  1.  Creating even NICER, publishable, embeddable plots using tikzDevice in R for use with LaTeX

Leave a Reply

  • (will not be published)