Re: [R] How to compare stacked histograms/datasets

2012-07-11 Thread Joshua Wiley
Hi, Sure, you could do a qqplot for each variable between two datasets. In a 2d graph, it will be hard to reasonably compare more than 2 datasets (you can put many such graphs on a single page, but it would be pairwise sets of comparisons, I think. Perhaps you could plots multiple qqplots on top

Re: [R] How to compare stacked histograms/datasets

2012-07-07 Thread Joshua Wiley
Hi, Probably easier to work with the raw data, but whatever. If your data is in a data frame, dat, ## create row index dat$x - 1:21 ## load packages require(ggplot2) require(reshape2) ## melt the data frame to be long, long dat, ldat for short ldat - melt(dat, id.vars=x) ## plot the

Re: [R] How to compare stacked histograms/datasets

2012-07-07 Thread Atulkakrana
Hello Joshua, Thanks for taking time out to help me with problem. Actually the comparison is to be done among two (if possible, more than two) datasets and not within the dataset. Each dataset hold 5 variables (i.e Red, Purple, Blue, Grey and Yellow) for 21 different positions i.e 1-21n. So, we

[R] How to compare stacked histograms/datasets

2012-07-06 Thread Atulkakrana
Hello All, I have a couple of stacked histograms which I need to compare/evaluate for similarity or difference. http://r.789695.n4.nabble.com/file/n4635668/Selection_011.png I believe rather than evaluating histograms is will be east to work with dataset used to plot these stacked histograms,