Re: [R] plot the number of replicates at the same point

2005-07-14 Thread Kerry Bush
Thank you for thinking about the problem for me. However, I have found that your method doesn't work at all. You may test the following example: x1=c(0.6,0.4,.4,.4,.2,.2,.2,0,0) x2=c(0.4,.2,.4,.6,0,.2,.4,0,.2) x1=rep(x1,4) x2=rep(x2,4) temp=data.frame(x1,x2) temp1=table(temp)

Re: [R] plot the number of replicates at the same point

2005-07-14 Thread Deepayan Sarkar
On 7/14/05, Kerry Bush [EMAIL PROTECTED] wrote: Thank you for thinking about the problem for me. However, I have found that your method doesn't work at all. You may test the following example: x1=c(0.6,0.4,.4,.4,.2,.2,.2,0,0) x2=c(0.4,.2,.4,.6,0,.2,.4,0,.2) x1=rep(x1,4) x2=rep(x2,4)

Re: [R] plot the number of replicates at the same point

2005-07-14 Thread Marc Schwartz (via MN)
On Thu, 2005-07-14 at 12:30 -0500, Deepayan Sarkar wrote: On 7/14/05, Kerry Bush [EMAIL PROTECTED] wrote: Thank you for thinking about the problem for me. However, I have found that your method doesn't work at all. You may test the following example:

Re: [R] plot the number of replicates at the same point

2005-07-14 Thread Deepayan Sarkar
On 7/14/05, Marc Schwartz (via MN) [EMAIL PROTECTED] wrote: On Thu, 2005-07-14 at 12:30 -0500, Deepayan Sarkar wrote: On 7/14/05, Kerry Bush [EMAIL PROTECTED] wrote: Thank you for thinking about the problem for me. However, I have found that your method doesn't work at all. You

Re: [R] plot the number of replicates at the same point

2005-07-14 Thread Marc Schwartz (via MN)
On Thu, 2005-07-14 at 15:08 -0500, Deepayan Sarkar wrote: On 7/14/05, Marc Schwartz (via MN) [EMAIL PROTECTED] wrote: On Thu, 2005-07-14 at 12:30 -0500, Deepayan Sarkar wrote: On 7/14/05, Kerry Bush [EMAIL PROTECTED] wrote: Thank you for thinking about the problem for me. However, I

Re: [R] plot the number of replicates at the same point

2005-07-14 Thread Jim Lemon
Hi all, This is nowhere near as elegant as Deepayan's solution, but I read the spec as plotting symbols except where there were overlays. You are welcome to improve the following... Jim count.overplot-function(x,y,tol=NULL,...) { if(missing(x)) stop(Usage:

Re: [R] plot the number of replicates at the same point

2005-07-14 Thread Gabor Grothendieck
See ?sunflowerplot for a graphic indication of the number of replications at each point. __ R-help@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

[R] plot the number of replicates at the same point

2005-07-13 Thread Kerry Bush
Dear R-helper, I want to plot the following-like data: x y 1 1 1 1 1 2 1 3 1 3 1 4 .. In the plot that produced, I don't want to show the usual circles or points. Instead, I want to show the number of replicates at that point. e.g. at the position of (1,1), there are 2 obsevations, so a

Re: [R] plot the number of replicates at the same point

2005-07-13 Thread Jean Eid
You can do the following (don't know it this is the most efficient way but it works) temp-read.table(your file to read the data, header=T) temp1-table(temp) plot(temp$x, temp$y, cex=0) text(as.numeric(rownames(temp1)), as.numeric(colnames(temp1)), temp1) HTH On Wed, 13 Jul 2005, Kerry Bush