travel demand prediction

Hi, and welcome!

Please see the FAQ: What's a reproducible example (`reprex`) and how do I create one? Using a reprex, complete with representative data will attract quicker and more answers.

What reprex does is to avoid the hurdle of having to reverse engineer a problem before offering solutions.

About the most I can offer without one is that the key seems

'x' must be an array of at least two dimensions

saying that somewhere along the line a function expected more than it got, a vector.

1 Like