Re: [R] Plot creates a straigth line

2010-10-21 Thread 1Rnwb
Thanks Jim for the explanation. I will modify the code accordingly -- View this message in context: http://r.789695.n4.nabble.com/Plot-creates-a-straigth-line-tp3004090p3005569.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-

Re: [R] Plot creates a straigth line

2010-10-20 Thread Robert Baer
od<-c(10, 8, 6,4,2,1, 10.5,7.8,6.4,3.8,2.1,0.95) cyto_conc=2650 # Highest cytokine concentration user defined cyto_std_conc <-c(cyto_conc) for (i in 1:5) { cyto_conc = cyto_conc /3 cyto_std_conc <-c(cyto_std_conc ,cyto_conc) } cyto_std_conc<-log2(rep(cyto_std_conc,2)) cyto<-cbind(cyto_s

Re: [R] Plot creates a straigth line

2010-10-20 Thread jim holtman
'plot' is doing exactly what you are asking it to do. Take a close look at your data: cyto_std_concod [1,] 11.371777 10.00 [2,] 9.786814 8.00 [3,] 8.201852 6.00 [4,] 6.616889 4.00 [5,] 5.031927 2.00 [6,] 3.446964 1.00 [7,] 11.371777 10.50 [8

[R] Plot creates a straigth line

2010-10-20 Thread 1Rnwb
Hello all, I am using 'plot' to create standard curves for elisa data. when I use 'plot' with type='b' i get the points connected with lines and one straigth line from the lowest datapoint to the highest data point. how can i avoid/remove it from the figure. i am using R2.9.1, below is the example