I have a model object and I would like to apply it to predict values for number (e.g. 5) of new data stored as a list. All the data are of the same length and contain the same three predictor variables. In the end, I would like to have the predicted values stored as a matrix or list that has as many columns (or elements) as I have datasets used in prediction (e.g. 5).
Being a total newbie in R programming, I haven’t figured out any working solution to this problem.