print_to_html: Print object to HTML

Description Usage Arguments Value Author(s)

View source: R/zzz.R

Description

Creates the code necessary to display many R objects as HTML tables in DeducerRichOutput.

Usage

1

Arguments

x

An R Object to be submitted to the xtable function.

...

Additional arguments passed to xtable.

Value

Creates a character vector of length 1 consisting of HTML code for displaying simple R objects, especially matrices or data.frames, as HTML tables. To have the code display properly in DeducerRichOutput, the code is wrapped in an HTML ‘PRE’ tag with the closing tag first and the opening tag last.

Author(s)

Ian Fellows


DeducerRichOutput documentation built on May 2, 2019, 4:53 p.m.