Re: [R] duplicate data points on a line graph

2009-07-16 Thread Jim Lemon
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 ass

Re: [R] duplicate data points on a line graph

2009-07-16 Thread Chuck Cleland
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 > [

Re: [R] duplicate data points on a line graph

2009-07-15 Thread baptiste auguie
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, al

Re: [R] duplicate data points on a line graph

2009-07-15 Thread Chuck Cleland
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 >

Re: [R] duplicate data points on a line graph

2009-07-15 Thread Dieter Menne
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 >