[R] regularized dfa rda (Klar): problems with predictions
    RUkidding 
    alexgade at utexas.edu
       
    Sun Aug  9 01:32:36 CEST 2015
    
    
  
Daniel Stahl-2 wrote
> Error in predict.rda(z, data = test[testset, ]) : 
>   A new data to predict must be supplied.
For anyone encountering this problem, it stems from having both the klaR and
rda libraries loaded. rda gives this error message because its predict.rda
is defined:
function (object, x, y, xnew, prior, alpha, delta, type = c("class",
"posterior", "nonzero"), trace = FALSE, ...) 
and 
if (missing(xnew)) { 
stop("A new data to predict must be supplied.") 
}
unload the rda package:
detach("package:rda", unload=TRUE)
--
View this message in context: http://r.789695.n4.nabble.com/regularized-dfa-rda-Klar-problems-with-predictions-tp3327188p4710913.html
Sent from the R help mailing list archive at Nabble.com.
    
    
More information about the R-help
mailing list