[R] Figures within tables [slightly off-topic]

Jim Lemon jim at bitwrit.com.au
Tue Apr 13 11:54:20 CEST 2010


On 04/13/2010 06:07 AM, Peter Jepsen wrote:
> Dear R-listers
>
>
>
> I am writing a manuscript for a scientific journal in clinical medicine.
> I have three groups of patients, and I present a 10*3 table of their
> characteristics in Table 1. Some of their characteristics, e.g. their
> age, are on a continuous scale, others are dichotomous. I am thinking of
> presenting the age distribution in each group as miniature graphs, each
> of which must fit in one table cell. I am hoping that someone can answer
> these questions:
>
>
>
> 1. Has anybody ever seen something like this published anywhere?
>
> 2. Should I draw the entire table as a figure, or should I make a table
> in Word (or similar) and manually insert the graphs in their cells?
>
> 3. Are there R packages that can "draw tables"?
>
> 4. And one for you editors out there: Would such a table count as one
> figure, several figures, or a table?!
>
>
>
> Forgive me for being somewhat off-topic. I hope for your help anyway.
>
Hi Peter,
This sounds like Edward Tufte's "sparklines" and I think there was a 
discussion of this sort of graphic a couple of years ago. Yep, see:

http://finzi.psych.upenn.edu/R/Rhelp02/archive/76508.html

Jim



More information about the R-help mailing list