Re: [R] x-y plot as an histogram

2009-10-30 Thread Federico Abascal
Thanks for all the suggestions. Cut + plotmeans (gplots) solved my problem. > groups <- cut(t[,1],breaks=5) > plotmeans(t[,2]~groups) Thanks! Federico --- El jue, 29/10/09, Jim Lemon escribió: De: Jim Lemon Asunto: Re: [R] x-y plot as an histogram Para: "Federico Abascal&

Re: [R] x-y plot as an histogram

2009-10-29 Thread Jim Lemon
On 10/30/2009 06:12 AM, Federico Abascal wrote: Hi, I am investigating a problem for which I found no solution. I have a matrix with two columns. I have plotted it as an x-y plot (plot(matrix[,1],matrix[,2]) But this is not apropriate for my purposes. I need to group the data in matrix[,1] int

Re: [R] x-y plot as an histogram

2009-10-29 Thread David Winsemius
On Oct 29, 2009, at 3:12 PM, Federico Abascal wrote: Hi, I am investigating a problem for which I found no solution. I have a matrix with two columns. I have plotted it as an x-y plot (plot(matrix[,1],matrix[,2]) But this is not apropriate for my purposes. I need to group the data in matri

Re: [R] x-y plot as an histogram

2009-10-29 Thread milton ruser
Hi Federico, Have you checked google R graph library? bests milton On Thu, Oct 29, 2009 at 3:12 PM, Federico Abascal wrote: > Hi, > > I am investigating a problem for which I found no solution. > I have a matrix with two columns. I have plotted it as an x-y plot > (plot(matrix[,1],matrix[,2])

[R] x-y plot as an histogram

2009-10-29 Thread Federico Abascal
Hi, I am investigating a problem for which I found no solution. I have a matrix with two columns. I have plotted it as an x-y plot (plot(matrix[,1],matrix[,2]) But this is not apropriate for my purposes. I need to group the data in matrix[,1] into groups (as an histogram would do). Then I hav