Re: [R] using dimnames as main when plotting with lapply

2010-11-01 Thread Uwe Ligges
On 01.11.2010 11:38, Henrik Pärn wrote: Dear all, # 1. I use tapply to calculate various things based on a grouping variable. # simple example using the warpbreaks dataset: tmp <- with(warpbreaks, tapply(breaks, tension, range)) tmp dimnames(tmp) # 2. I wish to plot the result of each elem

[R] using dimnames as main when plotting with lapply

2010-11-01 Thread Henrik Pärn
Dear all, # 1. I use tapply to calculate various things based on a grouping variable. # simple example using the warpbreaks dataset: tmp <- with(warpbreaks, tapply(breaks, tension, range)) tmp dimnames(tmp) # 2. I wish to plot the result of each element of tmp, using the names of the element