Re: [R] add=TRUE function not working

2009-10-11 Thread David Winsemius
n Gesendet: Sunday, October 11, 2009 8:52 PM An: r-help@r-project.org Betreff: [R] add=TRUE function not working Hey everybody, I have a matrix with three columns. I want to plot two columns (independent variable) against one column (the defendant). This is my code and the error associated with it:

Re: [R] add=TRUE function not working

2009-10-11 Thread Mehdi Khan
Sunday, October 11, 2009 8:52 PM > An: r-help@r-project.org > Betreff: [R] add=TRUE function not working > > Hey everybody, I have a matrix with three columns. > > I want to plot two columns (independent variable) against one column (the > defendant). This is my code and the err

Re: [R] add=TRUE function not working

2009-10-11 Thread Daniel Malter
-help-boun...@r-project.org] Im Auftrag von Mehdi Khan Gesendet: Sunday, October 11, 2009 8:52 PM An: r-help@r-project.org Betreff: [R] add=TRUE function not working Hey everybody, I have a matrix with three columns. I want to plot two columns (independent variable) against one column (the defendant

Re: [R] add=TRUE function not working

2009-10-11 Thread Sarah Goslee
You're going about it the wrong way: plot(p, q1) lines(p, q2) or points(p, q2) depending on what you want it to look like. Sarah On Sun, Oct 11, 2009 at 8:52 PM, Mehdi Khan wrote: > Hey everybody, I have a matrix with three columns. > > I want to plot two columns (independent variable) against

[R] add=TRUE function not working

2009-10-11 Thread Mehdi Khan
Hey everybody, I have a matrix with three columns. I want to plot two columns (independent variable) against one column (the defendant). This is my code and the error associated with it: plot(p, q, data=columns) > plot(pprime,q, add=TRUE) Warning messages: 1: In plot.window(...) : "add" is not a