| genedmhtml {pinktoe} | R Documentation |
Called by pinktoe to traverse a tree and generate appropriate perl and HTML files that enable a CGI-enabled web-server to graphically traverse a tree.
genedmhtml(treeobj, noderow, edmtextfn, edmtittext, cgibindir, htmldir, localdir, stateprintfn, requirelib, commonhtml)
treeobj |
A tree or rpart object to traverse |
noderow |
The row to begin at |
edmtextfn |
A function that can print out explanatory text given a variable name (see web help page and edm.text example. |
edmtittext |
Prints out a title string given a variable name |
cgibindir |
A character string containing the directory where the perl
files generated by pinktoe (with the extension .pl) will be
stored.
(This should be the directory part of the URL of the cgi-bin
directory). |
htmldir |
A character string containing the directory where the HTML
files generated by pinktoe (with the extension .htm)
will be stored. (This should be a pathname understood and
able to be found by perl). |
localdir |
A local location to store both the HTML and perl files immediately after they are generated |
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. |
requirelib |
A library of perl functions that can be called by, e.g.
stateprintfn. The library that this refers to
should reside in the cgibin directory. If no function calls
are planned then it doesn't matter what argument is supplied. |
commonhtml |
A user-supplied function that prints out some HTML code. This is appended to every HTML web page. |
No deliberate return value.
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 #