I am trying to use the package mda

And this is my command

mdfit<-mda(factor(forsen[,f]) ~ .,data=forsen[,-f],subclasses=sc)

But I keep getting this error message on a particular data set

Error in maxdist[l] <- x[l, i] :
  NAs are not allowed in subscripted assignments

Can anyone help ? Thanks


Regards

Tjun Kiat

	[[alternative HTML version deleted]]

