p1t: Make 1D HTML Table

Description Usage Arguments See Also Examples

View source: R/html_extras.R

Description

This tabling function is intended for the output of kTable, as generated when only one 'data' argument is passed.

Usage

1
2
p1t(x, class = "table table-condensed table-striped table-hover", id = NULL,
  ...)

Arguments

x

a data.frame, typically output of kTable.

class

class to be passed to HTML table; used for CSS styling.

id

id to be passed to HTML table; used for CSS styling.

...

optional arguments passed to makeHTMLTable.

See Also

kTable, makeHTMLTable

Examples

1
2
y <- factor( rbinom( 100, 2, 0.2 ) )
p1t( kTable( y ) )

Kmisc documentation built on May 29, 2017, 1:43 p.m.

Related to p1t in Kmisc...