Re: [R] ggplot2 and lattice
stephen sefick wrote: yes a parallel coordinates plot- I understand that it is for multivariate data, but I am having a hard time figuring out what it is telling me. Thanks for your help. In the lattice book, the author mentions that static parallel plots aren't very useful, in general. With a lot of data, they tend to be a spaghetti mess. They're more useful when you can brush over data to highlight it dynamically, which could show you common patterns. (E.g. that cars with smaller engines tend to have better mileage, but poorer acceleration.) At least that's my limited experience with them. Wikipedia has a page: http://en.wikipedia.org/wiki/Parallel_coordinates and the sample graph they have at the top of the page shows data that clusters on the first 5 features/dimensions, and then goes spaghetti on you. (As the article says, ordering of the dimensions is important, and they obviously got a reasonable order... or had boring data.) -- View this message in context: http://www.nabble.com/ggplot2-and-lattice-tp19579003p21036174.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.
Re: [R] ggplot2 and lattice
Am Dienstag 16 Dezember 2008 17:13:33 schrieb Wayne F: stephen sefick wrote: yes a parallel coordinates plot- I understand that it is for multivariate data, but I am having a hard time figuring out what it is telling me. Thanks for your help. In the lattice book, the author mentions that static parallel plots aren't very useful, in general. While for some data they are just natural: e.g. when spectra are treated as multidimensional data. Then the parallel coordinate plot just gives you the spectrum. Of course, in this situation it is maybe the treatment as high-dimensional data that is somewhat weird for spectra. However, this offers a way, that might help understanding what's going on. I have a data set of p dimensions. E.g. spectra measured with p channels. Now, we can either think of such a spectrum as a point in p-d. E.g. a spectrum consisting of red, green, blue intensity is at a certain point in rgb-space. On the other hand, here the p dimensions have something to do with each other (e.g. an intrinsic order, let's say, by the wavelength). So it does make sense to plot the intensity over the p dimensions. That's the parallel coordinate plot. What you can tell from such a plot, depends very much on your data, and how you treated it. Claudia -- Claudia Beleites Dipartimento dei Materiali e delle Risorse Naturali Università degli Studi di Trieste Via Alfonso Valerio 6/a I-34127 Trieste phone: +39 (0 40) 5 58-34 47 email: cbelei...@units.it __ 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.
[R] ggplot2 and lattice
I am in the process of learning lattice graphics and have looked at ggplot2 a little. I would like to know if there is a tutorial that shows how to convert lattice code into ggplot code and vise versa. I am finally discovering the power of these two packages and would like suggestions to lessen my learning curve. I could not find a straight foward answer on the internet (I may have not looked far enough) to what a parralelle plot is used for. thanks -- Stephen Sefick Research Scientist Southeastern Natural Sciences Academy Let's not spend our time and resources thinking about things that are so little or so large that all they really do for us is puff us up and make us feel like gods. We are mammals, and have not exhausted the annoying little problems of being mammals. -K. Mullis __ 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.
Re: [R] ggplot2 and lattice
On Fri, Sep 19, 2008 at 3:27 PM, stephen sefick [EMAIL PROTECTED] wrote: I am in the process of learning lattice graphics and have looked at ggplot2 a little. I would like to know if there is a tutorial that shows how to convert lattice code into ggplot code and vise versa. I am finally discovering the power of these two packages and would like suggestions to lessen my learning curve. No, but it is on my to do list. I have this page, http://had.co.nz/ggplot/vs-lattice.html, from a previous version of ggplot, but most of the code no longer works. It would be helpful if you would look at the lattice examples and let me know what is missing. It wouldn't be much work to update it for ggplot2. I could not find a straight foward answer on the internet (I may have not looked far enough) to what a parralelle plot is used for. A parallel coordinates plot? Hadley -- http://had.co.nz/ __ 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.
Re: [R] ggplot2 and lattice
yes a parallel coordinates plot- I understand that it is for multivariate data, but I am having a hard time figuring out what it is telling me. Thanks for your help. On Fri, Sep 19, 2008 at 5:02 PM, hadley wickham [EMAIL PROTECTED] wrote: On Fri, Sep 19, 2008 at 3:27 PM, stephen sefick [EMAIL PROTECTED] wrote: I am in the process of learning lattice graphics and have looked at ggplot2 a little. I would like to know if there is a tutorial that shows how to convert lattice code into ggplot code and vise versa. I am finally discovering the power of these two packages and would like suggestions to lessen my learning curve. No, but it is on my to do list. I have this page, http://had.co.nz/ggplot/vs-lattice.html, from a previous version of ggplot, but most of the code no longer works. It would be helpful if you would look at the lattice examples and let me know what is missing. It wouldn't be much work to update it for ggplot2. I could not find a straight foward answer on the internet (I may have not looked far enough) to what a parralelle plot is used for. A parallel coordinates plot? Hadley -- http://had.co.nz/ -- Stephen Sefick Research Scientist Southeastern Natural Sciences Academy Let's not spend our time and resources thinking about things that are so little or so large that all they really do for us is puff us up and make us feel like gods. We are mammals, and have not exhausted the annoying little problems of being mammals. -K. Mullis __ 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.