Re: [R] plotting residuals/error message

2014-03-16 Thread Gainous,Jason
elp@r-project.org Subject: RE: [R] plotting residuals/error message Dear Jason, Your suspicion is correct: the cases with NAs in either ft_dpc_r or pid_x are absent from the residuals but not from pid_x. There are several ways to deal with this problem, but one straightforward way is t

Re: [R] plotting residuals/error message

2014-03-16 Thread John Fox
nal Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Gainous,Jason > Sent: Saturday, March 15, 2014 1:42 PM > To: r-help@r-project.org > Subject: [R] plotting residuals/error message > > I am trying to plot the residuals f

Re: [R] plotting residuals/error message

2014-03-15 Thread Bert Gunter
Did you not notice: "Residual standard error: 22.85 on 5876 degrees of freedom (36 observations deleted due to missingness) ?? (No residuals for missings...) -- Bert Bert Gunter Genentech Nonclinical Biostatistics (650) 467-7374 "Data is not information. Information is not knowledge. And kno

[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