Graphs from tables

Samantha Ross writes:

I’ve been reading about the recent efforts (including yours) to turn tables into graphs. Unfortunately, my experience as an applied research with little R knowledge makes constructing these graphs difficult. Even with the new tables2graphs.com, I’m having trouble fitting a graph to my needs. Could you post (or send) some example R code you use to construct graphs for displaying coefficients? And other R code too maybe! Perhaps this is like asking to copy someone else’s written paragraph in your own paper without attribution and if so, well, certainly my apologies. But my guess is that applied researchers will continue displaying coefficient tables until they can get sufficient guidance to construct the graphs. I don’t want to be one of them so I’m asking for help!

Yu-Sung replies: Try the function coefplot() in our package “arm”. Type ?coefplot in R to see example codes (plot 7 might be what you want). And you are welcome to ask us question if you have problems using the function.

1 thought on “Graphs from tables

  1. It's not R, but you might find my J code at http://facilitatedsystems.com/weblog/2007/08/maki… of interest. It's a 2-line program to set things up (one to load libraries and one to define a verb, the J name for a function) and a 1-line program to plot whatever you put on the clipboard.

    If you want to get data out of a text file into J, that's pretty easy, too (http://www.jsoftware.com/jwiki/Interfaces/Text).

    For the R fans here, there are three interfaces to R from J (http://www.jsoftware.com/jwiki/Interfaces/R).

Comments are closed.