I\'m in the process of attempting to learn to work with neural networks in R. As a learning problem, I\'ve been using the following problem over at Kaggle:
Don\'t wo
Error Message "requires numeric/complex matrix/vector arguments" occur when you have factor or character variables in your data.
There are three ways to solve this problem:
You can use model.matrix() mentioned above or class.ind() function from nnet package to transfer factor into dummy variable.