[R] Classifying boolean values

Grifone fabio.podda at alice.it
Tue Jun 7 17:47:38 CEST 2011


Hi to all, I'm new to this forum and new to R. I have to build a tree
classifier that has boolean values as response.
When I build the tree with:

echoknn.tree <- tree(class ~ ., data=echoknn.train)

where "class" is a coloumn of my dataset (echoknn.train) of boolean values,
the result is a tree where leaf nodes are numbers in the range [0,1]; but
this isn't the result that I expect to have. I'd want that result of
classifier is TRUE or FALSE.
Can someone help me?

Thanks.

Fabio


--
View this message in context: http://r.789695.n4.nabble.com/Classifying-boolean-values-tp3579993p3579993.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list