Error in data.frame(..., check.names = FALSE) : arguments imply differing number of rows: 0, 58430

The error message is self-explanatory, prediction.frame and predictions have different number of rows, we can't tell for sure why this is happening since you are not providing sample data and your example is not reproducible, but there is where you have to start looking for the cause.

If you need more specific help, please provide a proper REPRoducible EXample (reprex) illustrating your issue.

1 Like