On 7/15/2009 9:56 PM, Carl Witthoft wrote:
If you want to take the second approach, it can be relatively easily
generalized by calculating the cex values based on the count of ordered
pairs in the original dataset.
Here's a data set:
xy
x y
[1,] 1 4
[2,] 1 5
[3,] 2 3
[4,] 3 3
NDC/jshipman wrote:
Hi,
I am new to R plot. I am trying to increase the data point
observation when duplicate data points exist
xy
110
110
23
45
9 8
in the about example 1, 10 would be displayed larger than the other
data points. Could someone give me some
LARC/J.L.Shipman/jshipman wrote:
I am new to R plot. I am trying to increase the data point
observation when duplicate data points exist
x y
1 10
1 10
2 3
4 5
9 8
in the about example 1, 10 would be displayed larger than the other
data points.
On 7/15/2009 2:19 PM, NDC/jshipman wrote:
Hi,
I am new to R plot. I am trying to increase the data point
observation when duplicate data points exist
xy
110
110
23
45
9 8
in the about example 1, 10 would be displayed larger than the other
data points.
Alternatively, you could make use of transparency (on some devices), or use
ggplot2 to map the number of observations to the point size,
d =
read.table(textConnection(
x y
1 10
1 10
2 3
4 5
9 8
),head=T)
library(ggplot2)
# transparency
qplot(x, y, data=d,
5 matches
Mail list logo