Learn R Programming

PTXQC (version 1.0.4)

getHTMLTable: Create an HTML table with an extra header row

Description

Create an HTML table with an extra header row

Usage

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

Run this code
# NOT RUN {
  data = data.frame(raw.file = letters[1:4],
                    id.rate = 3:6)
  getHTMLTable(data, 
               header = "some header line", 
               font_size = 11)

# }

Run the code above in your browser using DataLab