HTMLstem | R Documentation |
Insert a stem-and-leaf plot in the HTML output.
HTMLstem(x, file = HTMLGetFile(), append = TRUE, ...)
x |
a numeric vector. |
file |
the target HTML file |
append |
logical. If 'TRUE' output will be appended to 'file'; otherwise, it will overwrite the contents of 'file' |
... |
any other argument that may be passed to |
As stem
internal function does not return anything but directly print to console, there is no way to automatically export it to the HTML output. Thus, HTMLstem
simply captures the output and write it to the HTML file. When using the package in a interactive way, you should call HTMLstem
.
no value returned.
Eric Lecoutre
stem
,HTML
data(islands)
tmpfic=paste(tempfile(),"html",sep=".")
HTMLstem(log10(islands),tmpfic)
cat("\n stem-and-leaf writen to:", tmpfic,"\n")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.