html_table: Format data.frame as html table

Description Usage Arguments Details Value Author(s)

View source: R/html_elements.R

Description

Function to format a data.frame as an html table

Usage

1
html_table(df, table_id)

Arguments

df

A data frame

table_id

Character, specifying the id tag for the html table

Details

This function uses the thead and tbody tags required for the dataTables javascript to create interactive html tables.

Value

Html code as a character string.

Author(s)

Thomas Sandmann


gCMAPWeb documentation built on April 28, 2020, 8:23 p.m.