Hi,

 

I'm trying to run a prediction using Multivariate Adaptive Regression
Splines. I already have the models (class "mars" objects), and I tried:

 

prediction<-predict (model1,dataset)

 

But I keep getting this error: 

 

Error in x[, k] - cut[j, k] : non-numeric argument to binary operator.

 

I've tried using also the argument type (with "response or "prob") but I got
the same error.

 

Any help?

 

Frederico Mestre

 


	[[alternative HTML version deleted]]

