data2HTML: Make a HTML5 file with a data.frame

View source: R/data2HTML.R

data2HTMLR Documentation

Make a HTML5 file with a data.frame

Description

Make a HTML5 file with a data.frame

Usage

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

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

out

An object or NULL

Examples

## Not run: 
library(moonBook)
library(rrtable)
library(ggplot2)
data2HTML(sampleData2)

## End(Not run)

cardiomoon/rrtable documentation built on March 14, 2023, 10:39 p.m.