Re: [R] Datapoints underneath datapoints Problem

From: Uwe Ligges <ligges_at_statistik.uni-dortmund.de>
Date: Sat, 02 Jun 2007 17:29:26 +0200

mister_bluesman wrote:
> Hi there.
>
> I have the following graph:
>
> http://www.nabble.com/file/p10928148/map.jpg
>
> However, some datapoints occur at the same place as other datapoints and are
> so layered on top of each other. I would like to know if there is any
> possible way in which I could view those datapoints that are layered on top
> of each other ...maybe by rotating using latitude to show the datapoints
> underneath (but then is that possible?)??? - just an idea.
>
> Many thanks.
>
> Sam.

You can use common techniques such as jitter() or transparency (alpha shading), depending on the amount of datapoints that are layered on top of each other.

Of course, you can also rotate the data, but then you will have to decide which way makes sense - and you have to add some randomness as well, or two points will be rotated to the same new coordinates unless there is another variable that will cause a difference.

Uwe Ligges



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 Sat 02 Jun 2007 - 15:53:08 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 Sat 02 Jun 2007 - 16:31:41 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.