writeperloption {pinktoe} | R Documentation |
If childvar
is a leaf then call stateprintfn
to issue perl code to call appropriate leaf functionality,
alternatively issue perl code to call next HTML file in the tree.
writeperloption(childvar, childrow, childnodeid, treeobj, perlname, append = TRUE, htmldir, stateprintfn)
childvar |
Variable name of next item in tree, either "<leaf>" or actual variable name |
childrow |
The row number into frame for next item. |
childnodeid |
The node number (row name of row number in frame component) |
treeobj |
The rpart or tree object that all this is about |
perlname |
The name of the perl file that all this is being written to |
append |
Should be TRUE |
htmldir |
The directory that the HTML files are getting written to (the perl file needs to know this to set up a call to HTML files |
stateprintfn |
A user-supplied function that decides what to do when
supplied with the yval reached at the leaf of a tree. Some
text can be output, or maybe a perl function call. |
As description.
No value returned.
Not intended for general user use
Guy P Nason
http://www.stats.bris.ac.uk/~magpn/Research/Pinktoe/Welcome.html
# #Not intended for general user use #