Learn R Programming

PTXQC (version 1.1.2)

getHTMLTable: Create an HTML table with an extra header row

Description

Create an HTML table with an extra header row

Usage

getHTMLTable(data, caption = NA)

Value

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

Arguments

data

A data.frame which serves as table

caption

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

Examples

Run this code
  data = data.frame(raw.file = letters[1:4],
                    id.rate = 3:6)
  getHTMLTable(data, 
               caption = "some header line")

Run the code above in your browser using DataLab