burl.tree(tree, nodes, screen.arg=<<see below>>, figs=c(1, length(xlevels)), plot = T)
Each component of this list contains details of the competition for best split at that node in a data frame whose rows represent each potential split and with the following columns:
Warnings result from selecting leaf nodes. Clicking the exit button will stop the burling process and return the list described above for the last node selected. See .Device and split.screen for specific details on graphic input and split-screen mode.
The strings of letters labeling splits for factor predictors are determined by a one-to-one correspondence of the letters of the alphabet (contained in the S-PLUS dataset letters) and the factor levels which can be obtained using the function levels. For example, "bd" represents the second and fourth levels of the corresponding predictor of class "factor".
z <- tree(Mileage~Weight + Type, car.test.frame) # open graphics device then execute the following: tree.screens() plot(z) burl.tree(z)z.cu <- tree(cu.summary, na.action = na.omit) # burl.tree() can be used non-interactively b3 <- burl.tree(z.cu, 3) # compute alternative splits at node 3
# burl.tree provides convenient input to edit.tree # edit according to the 6th split on Country z.edit <- edit.tree(z.cu, b3$Country[6, ])