data2HTML | R Documentation |
Make a HTML5 file with a data.frame
data2HTML( data, preprocessing = "", path = ".", filename = "report.HTML", rawDataName = NULL, rawDataFile = "rawData.RDS", type = "HTML", vanilla = FALSE, echo = TRUE, showself = FALSE, out = NULL )
data |
A data.frame |
preprocessing |
A character string of R code |
path |
A name of destination file path |
filename |
A name of destination file |
rawDataName |
The name of the rawData |
rawDataFile |
The name of the rawData file which the data are to be read from. |
type |
character "HTML" or "pdf" |
vanilla |
logical. Whether or not make vanilla table |
echo |
Logical. Whether or not show R code of plot and table |
showself |
Logical. Whether or not show R code for the paragraph |
out |
An object or NULL |
## Not run: library(moonBook) library(rrtable) library(ggplot2) data2HTML(sampleData2) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.