Learn R Programming

rrtable (version 0.1.0)

data2HTML: Make a HTML5 file with a data.frame

Description

Make a HTML5 file with a data.frame

Usage

data2HTML(data, preprocessing = "", path = NULL, filename = "report.HTML",
  rawDataName = NULL, rawDataFile = "rawData.RDS", vanilla = FALSE,
  echo = TRUE, showself = FALSE)

Arguments

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.

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

Examples

Run this code
# NOT RUN {
library(moonBook)
library(ztable)
library(rrtable)
library(ggplot2)
data2HTML(sampleData2,path="tmp")
# }

Run the code above in your browser using DataLab