Learn R Programming

datamodelr (version 0.2.1.9001)

to_html_table: Data frame to html table

Description

Used to create graphwiz dot HTML table labels

Usage

to_html_table(x, title = "Table", attr_table, attr_header, attr_font,
  attr_td = NULL, trans = NULL, cols = names(x))

Arguments

x

A data frame

attr_table

A named list with table attributes

attr_header

A named list with cell attributes in header cell

attr_td

A function with parameters column, current row, value and returns a named list with current cell attributes

trans

Value transformation funcion

cols

A named vector of columns to include in a table