r - Error in predicting test data when apply prediction fda.model (flexible discriminant analysis) -


library(mda)

i'm using:

pred.test <- predict(model.fda, test.data)  after model.fda <- fda(y~., train.data) 

but obtained following message:

error in mindist[l] <- ndist[l] : nas not allowed in subscripted assignments.

thank hint!

i've solved issue after normalizing data (it binary values , maybe sparse in case).


Comments

Popular posts from this blog

android - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -