Re: [R] Visualize quartiles of plot line

From: Arne Brutschy <abr-r-project_at_xylon.de>
Date: Sun, 17 Jun 2007 15:56:47 +0200

Hi,

thanks for your tips - all of them worked. After a bit of fiddling, I managed to get what I wanted.

hadley wickham wrote:

h> You might want to read the introductory chapters in the ggplot book,
h> available from http://had.co.nz/ggplot2, which will give you more of a
h> background.  Please let me know places where you think the
h> documentation is inconsistent so I can try and make them better.
I already did. :) A general problem: the examples are nice and easy to get, but it's often hard to apply them to my own specific problem. It's more a problem of the general structure: what has to go where. Most of the methods are using qplot, but what do I have to do if I'm trying create a more complex plot. Hmm, it's hard to describe.

Example: I know how I set the title when using qplot (qplot(.... main="asdf"). Where do I have to put it when I'm using gplot? Stuff like this is unclear...

A more general problem is, that the manual pages are very, eh, minimalistic documented. The overall reference page is good and nicely structured. But the big idea is sort of missing. All components are linked, but the basics like layout, ggplot, aes etc are harder to find - and their help pages are the shortest. Especially the small details are hard to figure out. Lists of attributes etc..

Hmm, I know this is not really helpful. I can't describe my problems properly, I guess. Perhaps the documentation simply has to improve based on users questions. :\

How old is this package? I think it's really, really great, but are there many users? Is there an additional mailinglist or forum where I can get more information?

Some more questions:

Why doesn't ggplot2 work with layout()? I'm using viewport now, which works fine for me, but there should be a note in the docs perhaps.

How do I change the legend. The auto-creation of it might be nice, but I want a) to add a title b) change the order to ascending and c) add a short description like:

  DeltaConfig
[ ] 0 best
[ ]
[ ] 5
[ ]
[ ]10 worst

I don't know if this is possible, but it would be nice to explain what the colors/values might mean if it's not clear from the beginning (ligke diamonds.size). The only thing I found was the attribute legend.justifcation in ggopt, which isn't fully documented.

Additionally, how can I change the order of the facets? I currently have a plot with a smoother for each model (all in the same plot), which sorts the models like this: dyn,dl4,dl3 Below that, I have a facet with point-plots for each model which sorts them the other way round, which is a bit confusing.

BTW, what's the "strip" and the associated attributes?

Again, I think this package is great - nice work! All the above isn't meant as general critisism, but is being said in order to improve the documentation..

Thanks in advance
Arne



R-help_at_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 Sun 17 Jun 2007 - 14:02: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 Fri 22 Jun 2007 - 21:32:42 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.