htmlTableQuant: Create HTML table

Description Usage Arguments Details Examples

View source: R/sendEmail.R

Description

This function creates a HTML table from a data frame and applies RQuant branding standards (eg colours / fonts etc) so that it can be fowared on to clients

Usage

1
htmlTableQuant(dat, showRowNames = FALSE, cornerText = "")

Arguments

showRowNames

A boolean flag on whether to show the row names from data frame

cornerText

A string to display in the top left cell when showRowNames is used

x

A data.frame

Details

Newlines have been added to prevent the output falling foul of the 1000-character line limit of SMTP. The mailserver inserts its own newlines, breaking the code.

Examples

1
2
3
htmlTableQuant(mtcars)
htmlTableQuant(mtcars, showRowNames = TRUE)
htmlTableQuant(mtcars, showRowNames = TRUE, cornerText = "X")

ivanliu1989/RQuant documentation built on Sept. 13, 2019, 11:53 a.m.