Zebra-Striped Tables in LaTeX and HTML Formats
Overview
Makes zebra-striped tables (tables with alternating row colors) in LaTeX and HTML formats easily from a data.frame, matrix, lm, aov, anova, glm, coxph, nls, fitdistr, mytable and cbind.mytable objects.
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-25
- WARNING4 NOTE, 9 WARNING2026-06-09
- ERROR4 NOTE, 8 WARNING, 1 ERROR2026-06-08
Show 2 earlier changesHide 2 earlier changes
- WARNING10 NOTE, 3 WARNING2026-06-03
- NOTE14 NOTE2026-03-10
Documentation
- Help pages
- 72
- Examples that run
- 92%12 run in a plain check · 1 never run
- Exported functions with examples
- 26%
- Documented parameters
- 100%
- Return-value docs
- 23%
- Help pages citing references
- 0%
- ztable HTML
- heatmapTable HTML
- ztable_update HTML
Downloads
Repository
- PRs merged (all time)
- 0%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 1,915
Stars over time
Forks over time
Issues over time
PRs over time
3 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/cardiomoon/ztable on 2026-10-18.
Dependencies
Installing ztable adds 64 packages (37 with compiled code, 56 MB of source tarballs). Heaviest: stringi 11 MB, data.table 5.7 MB, bslib 5.6 MB.
CRAN will archive these unless their check problems are fixed by the date shown. This package needs each one to install.
- flextablefix by Oct 22
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 0.2.5Latest
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.2.32021-09-28 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.2.2
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 0.2.02018-07-22 · diff ↗ ·
removed 1 export
extractAlignadded 13 exports
color2hex, data2table, getNewSpanCol, gradientColor, makeHeatmap, normalize2, palette2colors, roundDf, totalLeft, validColor, validColor2, ztable2flextable, ztable_sub - 0.1.82018-04-25 · diff ↗ ·
removed 1 export
pattern:^[^\\.]added 30 exports
addCellColor, addColColor, addFrontColor, addRowColor, addSigColor, addSubColNames, addcgroup, addrgroup, align2html, align2lines, alignCheck, alignCount, cGroupSpan, colGroupCount, define_colors, extractAlign, getNewAlign, getspanRowLength, hlines, isGroupCol, myhtmlStyle, parallelTables, printHTMLHead, printLatexHead, spanCol, spanRow, update_ztable, vline2align, vlines, ztable - RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
Package metadata
- First published
- 2014-12-15
- Total releases
- 11 / 12 yrs
- License
- GPL-2 OSI
- Minimum R
- ≥ 3.1.2
- Bundled data
- 13 KB / 1 file
- Download size
- 324 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("ztable")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.