Re: [R] Area Graphs

2014-07-16 Thread Greg Snow
You can show the 2 distributions at a given time with a simple plot without needing to color in the areas. To show this change over time you could use the animation package or faceting from the lattice or ggplot2 packages (depending on how many time periods you have). On Wed, Jul 16, 2014 at 9:41

Re: [R] Area Graphs

2014-07-16 Thread Leask, Graham
Greg, I think you encapsulate my dilemma well. I could produce a graph using Excel in 5 minutes but they look so boring and lack precision. A key benefit of R is the ability to produce quality customised graphs. I have the books by Tufte and Cleveland and perhaps there is a better way to portray

Re: [R] Area Graphs

2014-07-16 Thread S Ellison
> Is there a way to produce good quality area graphs in R? If so I would greatly > appreciate being directed to the relevant package or a code example. Have you tried googling 'area plot in R'? There's a geom_area feature in ggplot2 which probably meets most expectations of 'high quality'. See

Re: [R] Area Graphs

2014-07-16 Thread Greg Snow
You ask: "Is there a way to produce good quality area graphs in R?" I would modify that question a little and ask it back as: Is there a way to produce good quality area graphs? Consider the following: > library(fortunes) > fortune(197) If anything, there should be a Law: Thou Shalt Not Even T

Re: [R] Area Graphs

2014-07-16 Thread Leask, Graham
Hi Sarah, Thank you. What I’m looking for is similar but a a more refined example. The stack poly example looks a bit nearer what I had in mind. Kind regards Graham On 16 Jul 2014, at 14:58, Sarah Goslee wrote: > You mean like this? > > http://stackoverflow.com/questions/10840314/stack

Re: [R] Area Graphs

2014-07-16 Thread David L Carlson
] On Behalf Of Sarah Goslee Sent: Wednesday, July 16, 2014 8:59 AM To: Leask, Graham Cc: r-help@r-project.org Subject: Re: [R] Area Graphs You mean like this? http://stackoverflow.com/questions/10840314/stacked-area-graph-in-r http://menugget.blogspot.com/2013/12/data-mountains-and-streams-stacked-area.

Re: [R] Area Graphs

2014-07-16 Thread Sarah Goslee
You mean like this? http://stackoverflow.com/questions/10840314/stacked-area-graph-in-r http://menugget.blogspot.com/2013/12/data-mountains-and-streams-stacked-area.html http://stackoverflow.com/questions/22544571/create-stacked-area-graph-from-time-data Or any of the many other results from a go

[R] Area Graphs

2014-07-16 Thread Leask, Graham
Area graphs are a commonly used graphic in such software as Excel but I have been unable to find any examples of their use using R. Is there a way to produce good quality area graphs in R? If so I would greatly appreciate being directed to the relevant package or a code example. Any help will b