I've fit a linear model to my data set using the <lm> function. One of the
outputs of that function is a vector of the residuals. I would like to do a
residual plot of this data versus a predictor variable, but the length of
the residual vector is shorter than the length of the predictor variable
vector. This is because when <lm> computes the residual vector, it deletes
entries that came up NA (and lists these as a vector called na.action).
Could someone please tell me how I can do a simple scatterplot of residuals
v. predictor variable in an instance such as this? I'm not much of a
code-jockey and haven't been able to find the right function if it exists.

Thanks,

Matt

	[[alternative HTML version deleted]]

