Re: [R] plotmeans

From: cheba meier <cheba.meier_at_googlemail.com>
Date: Tue, 29 Jun 2010 11:30:07 +0100

Thanks a lot.

?HTH :) Regards,
Cheba

2010/6/28 Jannis <bt_jannis_at_yahoo.de>

> Try adding
>
> par(new=TRUE)
> after plotting the first plot and then just plot the second one. You have
> to make sure that both use the same y axis but I will leave it to you to
> find out how ;-) (I would fix the y limits of both plots...)
>
>
> HTH
> Jannis
>
> cheba meier schrieb:
>
>> Hello,
>>
>> I am using
>> library(gplots)
>> to do something like
>> data(state)
>> x1 <- state.area/10000
>> x2 <- x1+round((rnorm(length(state.area),3,3)))
>> plotmeans(x1 ~ state.region)
>>
>> Is it possible to plot x2 to x1 in the same graph, something like:
>>
>> linesmeans(x2 ~ state.region)
>>
>> Best wishes,
>> Cheba
>>
>> [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help_at_r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>>
>>
>
>

        [[alternative HTML version deleted]]



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Tue 29 Jun 2010 - 10:35:14 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 29 Jun 2010 - 11:00:43 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive