[R] Error in tree package
Hugo Morganho
hjm at uninova.pt
Sun Jul 7 17:19:37 CEST 2002
Hi.
I'm using the tree package to fit one tree from a training set.
I'm using the command:
hm.tr <-tree(X1~.,teste2, mindev = 0, minsize = 2)
and i get the error:
Error in "row.names<-.data.frame"(*tmp*, value = fit$node[1:n]) :
duplicate row.names are not allowed
the frameset, has 180 columns and 16000 rows.
The first column, takes a value from 42..61 and the others 0 or 1.
Any help will be apreciated.
Thanks
Hugo
P.s. I'm using R1.3.0 in a winnt machine
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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