Re: [R] How to add the value on the barchart

2008-11-22 Thread David Winsemius
No, it only needed closer attention to the example: This gets you to the point where you need to fix the y scale settings but the values are properly cycled through. barchart(Tuberize~Family|factor(Year)*factor(Hr),data=tuber, panel = function(y,x,...){

Re: [R] How to add the value on the barchart

2008-11-22 Thread David Winsemius
On second look I see that although values appear in every panel, they are the same in every panel as well. Some sort of use of the subscripting facility probably needs to be employed. -- David Winsemius On Nov 22, 2008, at 1:05 PM, David Winsemius wrote: Following the example in https://sta

Re: [R] How to add the value on the barchart

2008-11-22 Thread David Winsemius
Following the example in https://stat.ethz.ch/pipermail/r-help/2006-January/086985.html You might want to try something like: > barchart(Tuberize~Family|factor(Year)*factor(Hr),data=tuber, + panel = function(y,x,...){ + panel.barchart(x,y,...) +

Re: [R] How to add the value on the barchart

2008-11-22 Thread John Kane
what you want # whereas: text(x, 0.6+my.values, "wibble") # doesn't look very nice = --- On Fri, 11/21/08, Piya Kittipadakul <[EMAIL PROTECTED]> wrote: > From: Piya Kittipadakul <[EMAIL PROTECTED]> > Sub

[R] How to add the value on the barchart

2008-11-22 Thread Piya Kittipadakul
I have question: how can I put the value on the bar chart. This my code: barchart(Tuberize~Family|factor(Year)*factor(Hr),data=tuber) This's my data:    Year Hr Family Tuberize 1  2007 20  A 0.26 2  2007 20  B 6.08 3  2007 20  C 0.00 4  2007 20  D 0.27 5  2008 20