Re: [R] Question about barplot: gridlines & value labels

2009-05-18 Thread Dimitri Liakhovitski
Thanks a lot - I am trying it with lattice now On Sat, May 16, 2009 at 10:44 PM, Duncan Mackay wrote: > Dimitri > > You mentioned lattice so I presumed that you tried a barchart in lattice > > if you found the class of table.a.percents will it comply with the lattice > requirements of the data ty

Re: [R] Question about barplot: gridlines & value labels

2009-05-17 Thread Jim Lemon
Dimitri Liakhovitski wrote: Hello! I promise I looked into help files before asking. Still cannot figure it out. I think it's because I am totally confused what packages use lettice, which use trellis, etc. Sections 1 and 2 below produce the data and the data to plot. My question is about barplot

Re: [R] Question about barplot: gridlines & value labels

2009-05-16 Thread Duncan Mackay
Dimitri You mentioned lattice so I presumed that you tried a barchart in lattice if you found the class of table.a.percents will it comply with the lattice requirements of the data type ? class(table.a.percents) [1] "matrix" Using the lattice package and converting to a data.frame x <- data.

[R] Question about barplot: gridlines & value labels

2009-05-16 Thread Dimitri Liakhovitski
Hello! I promise I looked into help files before asking. Still cannot figure it out. I think it's because I am totally confused what packages use lettice, which use trellis, etc. Sections 1 and 2 below produce the data and the data to plot. My question is about barplot in Section 3. I am trying to: