Re: [R] plotting residuals/error message

2014-03-16 Thread Gainous,Jason
Thanks John. That worked. It was an easy solution. I'm in the process of switching from Stata and some of these small things are still hanging me up. Jason -Original Message- From: John Fox [mailto:j...@mcmaster.ca] Sent: Sunday, March 16, 2014 9:51 AM To: Gainous,Jason Cc: r-h

[R] plotting residuals/error message

2014-03-15 Thread Gainous,Jason
I am trying to plot the residuals from a linear model and I get the following error message: Error in xy.coords(x, y, xlabel, ylabel, log) : 'x' and 'y' lengths differ. The outcome is a continuous variable and the explanatory variable is ordinal. My immediate suspicion was that it had something