htab: function for making html table

Description Usage Arguments

View source: R/htab.R

Description

function for making html table

Usage

1
2
3
htab(x, file = "", standalone = TRUE, names = TRUE, head = "",
  foot = "", color = "", bgcolor = "", html = "", browse = file == "",
  width = rep("", dim(x)[2]), digits = 2)

Arguments

x

data.frame or matrix to be transformed

file

whether or not to write resulting HTML to file

standalone

should HTML head and foot be added to make HTML standalone

names

might be TRUE, FALSE or a character vector giving the names of the columns

head

should user defined HTML head be used (everything before the table)

foot

should user defined HTML foot be used (everything after the table)

color

a vector of colors of length 1 or of length equal to number of rows of the table that will be used to set linewise text color

bgcolor

same as color but for linewise backgrounf color

html

some html / Javascript or whatever put in front of the table

browse

bolean, weather or not to have a look at the table in Browser

width

vector of length equal to number of columns; allows to specify html width arguments

digits

number of digits to round numbers to


petermeissner/htab documentation built on May 25, 2019, 1:53 a.m.