htmlTable: Advanced Tables for Markdown/HTML

Share:

Tables with state-of-the-art layout elements such as 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 word processors such as 'MS Word' or 'LibreOffice'. The package also contains a few text formatting functions that help outputting text compatible with HTML/'LaTeX'.

Author
Max Gordon <max@gforge.se>
Date of publication
2016-10-19 13:07:26
Maintainer
Max Gordon <max@gforge.se>
License
GPL (>= 3)
Version
1.7
URLs

View on CRAN

Man pages

htmlTable
Outputting HTML tables
interactiveTable
An interactive table that allows you to limit the size of...
outputInt
Deprecated use 'txtInt' instead.
prAddCells
Add a cell
prAddSemicolon2StrEnd
Add a ; at the end
prAttr4RgroupAdd
Get the add attribute element
prConvertDfFactors
Convert all factors to characters to print them as they...
prGetAlign
Gets alignment
prGetCgroupHeader
Retrieve a header row
prGetRgroupLine
Gets the number of rgroup htmlLine
prGetRowlabelPos
Gets the rowlabel position
prGetScriptString
Gets a string with all the scripts merged into one script tag
prGetStyle
Gets the CSS style element
prGetThead
Renders the table head (thead)
prMergeClr
Merges multiple colors
prPrepareAlign
Prepares the align to match the columns
prPrepareCgroup
Prepares the cgroup argument
prPrepareColors
Prepares the alternating colors
prPrepareCss
Prepares the cell style
prSkipRownames
Returns if rownames should be printed for the htmlTable
prTblNo
Gets the table counter string
pvalueFormatter
Deprecated use 'txtPval' instead
SCB
Average age in Sweden
splitLines4Table
See 'txtMergeLines'
tblNoLast
Gets the last table number
tblNoNext
Gets the next table number
txtInt
SI or English formatting of an integer
txtMergeLines
A merges lines while preserving the line break for html/LaTeX
txtPval
Formats the p-values
txtRound
A convenient rounding function

Files in this package

htmlTable
htmlTable/inst
htmlTable/inst/examples
htmlTable/inst/examples/data-SCB_example.R
htmlTable/inst/examples/interactiveTable_example.R
htmlTable/inst/examples/htmlTable_example.R
htmlTable/inst/html_components
htmlTable/inst/html_components/button.html
htmlTable/inst/doc
htmlTable/inst/doc/general.Rmd
htmlTable/inst/doc/tables.html
htmlTable/inst/doc/general.R
htmlTable/inst/doc/tables.Rmd
htmlTable/inst/doc/general.html
htmlTable/inst/doc/tables.R
htmlTable/inst/javascript
htmlTable/inst/javascript/button.js
htmlTable/inst/javascript/toggler.js
htmlTable/tests
htmlTable/tests/visual_tests
htmlTable/tests/visual_tests/htmlTable_vtests.R
htmlTable/tests/visual_tests/word_test.html
htmlTable/tests/visual_tests/word_test.Rmd
htmlTable/tests/visual_tests/pandoc_test.Rmd
htmlTable/tests/testInteractive.R
htmlTable/tests/testthat.R
htmlTable/tests/testthat
htmlTable/tests/testthat/test-htmlTable_dates.R
htmlTable/tests/testthat/test-txtFrmt.R
htmlTable/tests/testthat/test-htmlTable_cgroup.R
htmlTable/tests/testthat/test-interactiveTable.R
htmlTable/tests/testthat/test-htmlTable.R
htmlTable/tests/testthat/test-txtMergeLines.R
htmlTable/tests/testthat/test-htmlTable_total.R
htmlTable/tests/testthat/test-htmlTable_rgroup_tspanner.R
htmlTable/NAMESPACE
htmlTable/NEWS
htmlTable/data
htmlTable/data/SCB.rda
htmlTable/R
htmlTable/R/interactiveTable.R
htmlTable/R/deprecated.R
htmlTable/R/txtFrmt.R
htmlTable/R/data-SCB.R
htmlTable/R/htmlTable_render.R
htmlTable/R/htmlTable.R
htmlTable/R/htmlTable_helpers.R
htmlTable/vignettes
htmlTable/vignettes/general.Rmd
htmlTable/vignettes/custom.css
htmlTable/vignettes/tables.Rmd
htmlTable/README.md
htmlTable/MD5
htmlTable/build
htmlTable/build/vignette.rds
htmlTable/DESCRIPTION
htmlTable/man
htmlTable/man/prGetThead.Rd
htmlTable/man/prGetAlign.Rd
htmlTable/man/prGetRgroupLine.Rd
htmlTable/man/prPrepareCss.Rd
htmlTable/man/prPrepareColors.Rd
htmlTable/man/prGetCgroupHeader.Rd
htmlTable/man/txtPval.Rd
htmlTable/man/pvalueFormatter.Rd
htmlTable/man/outputInt.Rd
htmlTable/man/interactiveTable.Rd
htmlTable/man/prAttr4RgroupAdd.Rd
htmlTable/man/splitLines4Table.Rd
htmlTable/man/SCB.Rd
htmlTable/man/prAddSemicolon2StrEnd.Rd
htmlTable/man/prGetScriptString.Rd
htmlTable/man/prGetStyle.Rd
htmlTable/man/prSkipRownames.Rd
htmlTable/man/txtRound.Rd
htmlTable/man/prTblNo.Rd
htmlTable/man/tblNoNext.Rd
htmlTable/man/tblNoLast.Rd
htmlTable/man/txtMergeLines.Rd
htmlTable/man/prMergeClr.Rd
htmlTable/man/prPrepareCgroup.Rd
htmlTable/man/prConvertDfFactors.Rd
htmlTable/man/prAddCells.Rd
htmlTable/man/htmlTable.Rd
htmlTable/man/prPrepareAlign.Rd
htmlTable/man/txtInt.Rd
htmlTable/man/prGetRowlabelPos.Rd