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