Learn R Programming

⚠️There's a newer version (2.4.3) of this package.Take me there.

htmlTable (version 1.0)

Advanced Tables for Markdown/HTML

Description

A package for creating tables with state of the art layout containing row spanners, column spanners, table spanners, zebra striping, and more. While allowing advanced layout the underlying CSS structure is simple in order to maximize compatibility with MS Word/LibreOffice. The package also contains a few text formatting functions that help outputting text compatible with HTML/LaTeX.

Copy Link

Version

Install

install.packages('htmlTable')

Monthly Downloads

170,084

Version

1.0

License

GPL (>= 3)

Maintainer

Max Gordon

Last Published

December 21st, 2014

Functions in htmlTable (1.0)

SCB

Average age in Sweden
prGetAlign

Gets alignment
prTblNo

Gets the table counter string
htmlTable

Outputting HTML tables
tblNoLast

Gets the last table number
splitLines4Table

prGetRowlabelPos

Gets the rowlabel position
prMergeClr

Merges multiple colors
txtRound

A convenient rounding function
outputInt

prPrepareCss

Prepares the cell style
tblNoNext

Gets the next table number
prGetStyle

Gets the CSS style element
prAddSemicolon2StrEnd

Add a ; at the end
prPrepareColors

Prepares the alternating colors
prPrepareCgroup

Prepares the cgroup argument
txtMergeLines

A merges lines while preserving the line break for html/LaTeX
txtInt

SI or English formatting of an integer
txtPval

Formats the p-values
prAddCells

Add a cell
prSkipRownames

Returns if rownames should be printed for the htmlTable
prGetCgroupHeader

Retrieve a header row
pvalueFormatter

prPrepareAlign

Prepares the align to match the columns