[R] hist for two sets

From: Ethan Johnsons <ethan.johnsons_at_gmail.com>
Date: Thu 14 Sep 2006 - 23:37:44 GMT


A quick question, please.

x = c(0.0001, 0.0059, 0.0855, 0.9082)
y = c(0.54, 0.813, 0.379, 0.35)

where A = 1st set, B = 2nd set, C = 3rd set, D = 4th set respectivley.

How do you make hist plot side by side for x & y?

i.e. 0.0001 and then to the right 0.54, 0.0059 and then to the right 0.813, etc.

thx much

        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch 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 Fri Sep 15 09:42:06 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 15 Sep 2006 - 00:30:06 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.