Hallo everyone, I want to evaluate the change of the distribution for several size classes. How can i order these separate histograms with the same y-axis along a common x-axis according to their size classes. It would like it to look a bit like this (http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=109) without the quantile regression. I can produce the separate histograms, but have no clue how to merge them. i can put them next to each with separate x- and y-axes. Much obliged, Kenneth -- View this message in context: http://r.789695.n4.nabble.com/Ordering-several-histograms-tp3333382p3333382.html Sent from the R help mailing list archive at Nabble.com.
You could get close with the ggplot2 package using the function facet_grid or facet_wrap, but each histogram would be on a separate x-axis Scott On Thursday, March 3, 2011 at 8:00 AM, djbirdnerd wrote:> Hallo everyone, > > I want to evaluate the change of the distribution for several size classes. > How can i order these separate histograms with the same y-axis along a > common x-axis according to their size classes. It would like it to look a > bit like this > (http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=109) without > the quantile regression. I can produce the separate histograms, but have no > clue how to merge them. i can put them next to each with separate x- and > y-axes. > > Much obliged, > > Kenneth > > > > -- > View this message in context: http://r.789695.n4.nabble.com/Ordering-several-histograms-tp3333382p3333382.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@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]]
Em 3/3/2011 12:00, djbirdnerd escreveu:> Hallo everyone, > > I want to evaluate the change of the distribution for several size classes. > How can i order these separate histograms with the same y-axis along a > common x-axis according to their size classes. It would like it to look a > bit like this > (http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=109) without > the quantile regression. I can produce the separate histograms, but have no > clue how to merge them. i can put them next to each with separate x- and > y-axes. > > Much obliged, >Kenneth, Have tried to adapt the R code which is published in the link you did post? -- Cesar Rabak