Re: [R] barplot with lines instead of bars

2009-09-09 Thread John Kane
) == --- On Tue, 9/8/09, rafamoral rafa_moral2...@yahoo.com.br wrote: From: rafamoral rafa_moral2...@yahoo.com.br Subject: Re: [R] barplot with lines instead of bars To: r-help@r-project.org Received: Tuesday, September 8, 2009, 2:12 PM How can I

Re: [R] barplot with lines instead of bars

2009-09-09 Thread S Ellison
...@yahoo.com.br Subject: Re: [R] barplot with lines instead of bars To: r-help@r-project.org Received: Tuesday, September 8, 2009, 2:12 PM How can I draw thin bars in a barplot? Rafael hadley wrote: What's the difference between a line and a thin bar? Hadley On Tue, Sep 8, 2009

Re: [R] barplot with lines instead of bars

2009-09-09 Thread John Kane
My bad memory? I forgot that option existed. --- On Wed, 9/9/09, S Ellison s.elli...@lgc.co.uk wrote: From: S Ellison s.elli...@lgc.co.uk Subject: Re: [R] barplot with lines instead of bars To: r-help@r-project.org, John Kane jrkrid...@yahoo.ca Received: Wednesday, September 9, 2009, 12:02

[R] barplot with lines instead of bars

2009-09-08 Thread Rafael Moral
Dear useRs, I want to plot the following barplot with lines instead of bars. Is there a way? data - data.frame(cbind(k = 0:3, fk = c(11, 20,7,2), f0k = c(13.72, 17.64, 7.56, 1.08), fkest = c(11.85, 17.78, 8.89, 1.48))) d - t(data[,2:4]) barplot(d, beside=TRUE) Regards, Rafael.

Re: [R] barplot with lines instead of bars

2009-09-08 Thread ONKELINX, Thierry
[mailto:r-help-boun...@r-project.org] Namens Rafael Moral Verzonden: dinsdag 8 september 2009 16:45 Aan: r-help Onderwerp: [R] barplot with lines instead of bars Dear useRs, I want to plot the following barplot with lines instead of bars. Is there a way? data - data.frame(cbind(k = 0:3, fk = c

Re: [R] barplot with lines instead of bars

2009-09-08 Thread rafamoral
Verzonden: dinsdag 8 september 2009 16:45 Aan: r-help Onderwerp: [R] barplot with lines instead of bars Dear useRs, I want to plot the following barplot with lines instead of bars. Is there a way? data - data.frame(cbind(k = 0:3, fk = c(11, 20,7,2), f0k = c(13.72, 17.64, 7.56, 1.08

Re: [R] barplot with lines instead of bars

2009-09-08 Thread hadley wickham
Tukey -Oorspronkelijk bericht- Van: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Namens Rafael Moral Verzonden: dinsdag 8 september 2009 16:45 Aan: r-help Onderwerp: [R] barplot with lines instead of bars Dear useRs, I want to plot the following barplot

Re: [R] barplot with lines instead of bars

2009-09-08 Thread rafamoral
that a reasonable answer can be extracted from a given body of data. ~ John Tukey -Oorspronkelijk bericht- Van: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Namens Rafael Moral Verzonden: dinsdag 8 september 2009 16:45 Aan: r-help Onderwerp: [R] barplot with lines

Re: [R] barplot with lines instead of bars

2009-09-08 Thread John Kane
--- On Tue, 9/8/09, hadley wickham h.wick...@gmail.com wrote: From: hadley wickham h.wick...@gmail.com Subject: Re: [R] barplot with lines instead of bars To: rafamoral rafa_moral2...@yahoo.com.br What's the difference between a line and a thin bar? Hadley Diet? On Tue, Sep 8, 2009

Re: [R] barplot with lines instead of bars

2009-09-08 Thread John Kane
Have a look at ?segments and/or ?arrows. --- On Tue, 9/8/09, rafamoral rafa_moral2...@yahoo.com.br wrote: From: rafamoral rafa_moral2...@yahoo.com.br Subject: Re: [R] barplot with lines instead of bars To: r-help@r-project.org Received: Tuesday, September 8, 2009, 2:12 PM How can I draw

Re: [R] barplot with lines instead of bars

2009-09-08 Thread Henrique Dallazuanna
Try this: matplot(matrix(1:length(d), NCOL(d), byrow = TRUE), t(d), type = 'h', lty = 1, lwd = 2) On Tue, Sep 8, 2009 at 11:44 AM, Rafael Moral rafa_moral2...@yahoo.com.brwrote: Dear useRs, I want to plot the following barplot with lines instead of bars. Is there a way? data -