[R] New to R - Errors in plotting

BKMooney bkmooney at gmail.com
Thu Nov 6 17:18:17 CET 2008


I am new to R and am running into trouble with the function plot.  

When I enter in the simple code: 
x<-1:4
y<-5:8
plot(x,y)

I get a scatter plot with 4 points as expected.  

However, with my own data, A and B are both vectors of length ~85, each
entry a decimal in [0,1].  

Using the same plot(A,B) with this data, the plot function no longer gives
me a simple plot with 85 points.  Instead there are many points, and what
looks to be several box&whisker plots also included on the plot.  

This is a link to the actual output.  
http://www.nabble.com/file/p20364310/plotAB.bmp plotAB.bmp 

Why is the plot function doing this?  How can I get it to simply give me a
scatterplot?  (From there I want to do a lsline, etc..)

Any help is greatly appreciated...

Thanks!
-- 
View this message in context: http://www.nabble.com/New-to-R---Errors-in-plotting-tp20364310p20364310.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list