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&
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
he was running a script, rather than a
> function, I suspect that he would be better served by the
>
> quit("no")
>
> function.
>
>
> Jun 2, 2008, at 5:15PM , Rolf Turner wrote:
>
>>
>> On 3/06/2008, at 1:18 AM, Federico Abascal wrote:
>>
>>
Hi,
This is likely an stupid question, but I cannot find the solution.
I am searching for an "exit" function, to end the execution of an R
script if some condition is not filled.
Any clue?
Thank you in advance!
Federico
__
R-help@r-project.org mailing l
4 matches
Mail list logo