Journal of Statistical Software (Apr 2005)

pinktoe: Semi-automatic Traversal of Trees

  • Guy P. Nason

DOI
https://doi.org/10.18637/jss.v014.i01
Journal volume & issue
Vol. 14, no. 1
pp. 1 – 11

Abstract

Read online

Tree based methods in S or R are extremely useful and popular. For simple trees and memorable variables it is easy to predict the outcome for a new case using only a standard decision tree diagram. However, for large trees or trees where the variable description is complex the decision tree diagram is often not enough. This article describes pinktoe: an R package containing two tools to assist with the semiautomatic traversal of trees. The PT tool creates a widget for each node to be visited in the tree that is needed to make a decision and permits the user to make decisions using radiobuttons. The pinktoe function generates a suite of HTML and Perl files that permit a CGI-enabled website to issue step-by-step questions to a user wishing to make a prediction using a tree.