Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

HTMLstem

Insert a stem-and-leaf plot in the HTML output


Description

Insert a stem-and-leaf plot in the HTML output.

Usage

HTMLstem(x, file = HTMLGetFile(), append = TRUE, ...)

Arguments

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 stem, such as scale,...

Details

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.

Value

no value returned.

Author(s)

Eric Lecoutre

See Also

Examples

data(islands)
	tmpfic=paste(tempfile(),"html",sep=".")
	HTMLstem(log10(islands),tmpfic)
	cat("\n stem-and-leaf writen to:", tmpfic,"\n")

R2HTML

HTML Exportation for R Objects

v2.3.2
GPL (>= 2)
Authors
Eric Lecoutre [aut], Milan Bouchet-Valat [cre, ctb], Thomas Friedrichsmeier [ctb]
Initial release
2016-06-23

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.