R tools for writing HH2: hhpdf, hhdev.off, hhcapture, hhcode, hhpng, hhlatex.
These functions in the HH package are placeholders used by
scripts files. See details.
hhpdf(file, ...) hhdev.off(...) hhcapture(file, text, echo=TRUE, print.eval=TRUE) hhcode(file, text) hhpng(file, ...) hhlatex(file="", ...)
Output file name. Ignored.
Multi-line character string. It will be
displayed on the console by
The files in
contain R code for all examples and figures in the book.
The examples can all be directly executed by the user.
The code examples all use these functions.
The versions of these functions here are essentially placeholders.
hhdev.off are no-ops and return
As a consequence, the code between them will execute and display on
the default graphics device.
hhcapture sources its text argument and prints the
output to the console.
hhcode prints its text argument to the console.
hhlatex prints the latex source to the
console and returns
While writing the book, these placeholder functions are replaced by more elaborate functions with the same names that write the graphs onto pdf or png files, the console output to text files, and the latex code to a file.
Richard M. Heiberger <firstname.lastname@example.org>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.