[R] question

Saket Joshi joshi at engr.orst.edu
Fri Aug 2 19:35:43 CEST 2002

Hi all,

I am running R1.5.0 on Unix.
I fitted a tree model my.tree on some data my.data and the tree has only 2
leaves. Now I have some test data new.data

When I run
predict(my.tree, new.data)
it does give a reasonable answer but it takes 60 to 90 seconds to come up
with the answer.

I had expected it to take far less than that considering that the predict
function has just to traverse a tree with 2 nodes and give the answer.
Could anyone tell me why this function is taking so much time to run?

Thanks in advance,

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list