kyphosisprint {pinktoe}R Documentation

Example stateprintfn for the pinktoe function arising from the kyphosis example

Description

This function is an example of the type of function that could be supplied to the stateprintfn argument of the pinktoe function. Given a yval from z.kyphosis tree (such as "present" or "absent") it produces perl code to call an appropriate perl function (it actually calls the present or absent perl functions that are defined by the requirelib argument of pinktoe function

Usage

kyphosisprint(yval, file = "", append = FALSE)

Arguments

yval A z.kyphosis yval. This is either "present" or "absent"
file Where to cat the output
append Should be TRUE

Details

As Description

Value

No value returned

Note

Not intended for general user use

Author(s)

Guy P Nason

References

http://www.stats.bris.ac.uk/~magpn/Research/Pinktoe/Welcome.html

See Also

pinktoe

Examples

#
# A quick example. The file here is specified as "" to cat to standard output
#
kyphosisprint("present")
# &present;

[Package pinktoe version 2.0 Index]