getHTMLTable: Create an HTML table with an extra header row

Description Usage Arguments Value Examples

View source: R/fcn_plots.R

Description

Create an HTML table with an extra header row

Usage

1
getHTMLTable(data, header = NA, font_size = 12)

Arguments

data

A data.frame which serves as table

header

A set of headlines, e.g. c("top line", "bottom line")

font_size

Html font size

Value

table as character string for cat()'ing into html

Examples

1
2
3
4
5
  data = data.frame(raw.file = letters[1:4],
                    id.rate = 3:6)
  getHTMLTable(data, 
               header = "some header line", 
               font_size = 11)

PTXQC documentation built on Feb. 9, 2018, 6:08 a.m.