I want to create a column of predicted values from a multiple regression using the lm function and the predict function without the lm function deleting rows where data to construct the multiple regression using the lm function is not present. Such data would be coded as NA in the dataset. I can't get it to work right now in R.
I can get this to work in SPSS because the predicted values that do not have full data comes out as #NULL! in a given cell.
Is it possible to do this in R? If so, please provide some guidance.
Thanks!