predict.lm() in a loop. warning: prediction from a rank-deficient fit may be misleading May 25, 2023 by Tarik