data2HTML: Make a HTML5 file with a data.frame

Description Usage Arguments Examples

View source: R/data2HTML.R

Description

Make a HTML5 file with a data.frame

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
data2HTML(
  data,
  preprocessing = "",
  path = ".",
  filename = "report.HTML",
  rawDataName = NULL,
  rawDataFile = "rawData.RDS",
  type = "HTML",
  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.

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

Examples

1
2
3
4
library(moonBook)
library(rrtable)
library(ggplot2)
data2HTML(sampleData2)

rrtable documentation built on April 2, 2020, 5:09 p.m.