If I understand correctly you would like to predict your original x with the model built on your resampled data. If that is the case, simply using the "predict" function. You do not need even need to worry about the sequence of your predictions. The only thing you need to keep in mind is that the predict function requires your independent variable(s) as a data.frame, which your "x" is not: