Package: ztable 0.2.4

ztable: Zebra-Striped Tables in LaTeX and HTML Formats

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.

Authors:Keon-Woong Moon [aut, cre]

ztable_0.2.4.tar.gz
ztable_0.2.4.zip(r-4.5)ztable_0.2.4.zip(r-4.4)ztable_0.2.4.zip(r-4.3)
ztable_0.2.4.tgz(r-4.4-any)ztable_0.2.4.tgz(r-4.3-any)
ztable_0.2.4.tar.gz(r-4.5-noble)ztable_0.2.4.tar.gz(r-4.4-noble)
ztable_0.2.4.tgz(r-4.4-emscripten)ztable_0.2.4.tgz(r-4.3-emscripten)
ztable.pdf |ztable.html
ztable/json (API)
NEWS

# Install 'ztable' in R:
install.packages('ztable', repos = c('https://cardiomoon.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/cardiomoon/ztable/issues

Datasets:
  • zcolors - Definition of Latex Color

On CRAN:

43 exports 21 stars 2.38 score 56 dependencies 2 dependents 218 scripts 1.9k downloads

Last updated 1 years agofrom:5b4e34f573. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 06 2024
R-4.5-winNOTESep 06 2024
R-4.5-linuxNOTESep 06 2024
R-4.4-winNOTESep 06 2024
R-4.4-macNOTESep 06 2024
R-4.3-winOKSep 06 2024
R-4.3-macOKSep 06 2024

Exports:addCellColoraddcgroupaddColColoraddFrontColoraddrgroupaddRowColoraddSigColoraddSubColNamesalign2htmlalign2linesalignCheckalignCountcGroupSpancolGroupCountcolor2hexdata2tabledefine_colorsgetNewAligngetNewSpanColgetspanRowLengthgradientColorhlinesisGroupColmakeHeatmapmyhtmlStylenormalize2palette2colorsparallelTablesprintHTMLHeadprintLatexHeadroundDfspanColspanRowtotalColtotalLeftupdate_ztablevalidColorvalidColor2vline2alignvlinesztableztable_subztable2flextable

Dependencies:askpassbase64encbslibcachemclicolorspacecpp11data.tabledigestevaluatefarverfastmapflextablefontawesomefontBitstreamVerafontLiberationfontquiverfsgdtoolsgluehighrhtmltoolsjquerylibjsonliteknitrlabelinglifecyclemagrittrmemoisemimemunsellofficeropensslR6raggrappdirsRColorBrewerRcpprlangrmarkdownrstudioapisassscalesstringistringrsyssystemfontstextshapingtinytexuuidvctrsviridisLitexfunxml2yamlzip

Make a Heatmap Table using ztable

Rendered fromheatmapTable.Rmdusingknitr::rmarkdownon Sep 06 2024.

Last update: 2020-10-06
Started: 2018-05-21

Package ztable

Rendered fromztable.Rmdusingknitr::rmarkdownon Sep 06 2024.

Last update: 2021-09-28
Started: 2014-12-15

ztable Update

Rendered fromztable_update.Rmdusingknitr::rmarkdownon Sep 06 2024.

Last update: 2020-10-06
Started: 2018-05-12

Readme and manuals

Help Manual

Help pageTopics
Hooks for Namespace Events.onAttach
Add column colors of an object of ztableaddCellColor
Add column groups of an object of ztableaddcgroup
Add column colors of an object of ztableaddColColor
Add column colors of an object of ztableaddFrontColor
Add row groups of an object of ztableaddrgroup
Add row colors of an object of ztableaddRowColor
Add row color or cellcolor for rows or cells of p-value less than sigp in a ztableaddSigColor
Add a adjunctive name below column name in a ztableaddSubColNames
Convert the align in Latex format to html formatalign2html
count the vertical column lines from align of Latex formatalign2lines
Delete first components of alignalign2nd
Check the validity of alignalignCheck
Count the number of alignalignCount
Convert long caption to minipagecaption2minipage
Convert cgroup of ztable into data.framecgroup2df
Count the colspan of each colgroupcGroupSpan
Count the colgroup of an object of ztablecolGroupCount
Convert a named color into a hexadecimal color with rgb valuecolor2hex
Convert data to formatted data for tabledata2table
Define colorsdefine_colors
Make a character string indicating the alignment of components of table.getNewAlign
Calculating new spanCol with spanCol plus space made by column groupgetNewSpanCol
Calculating new spanRow with spanRow plus space made by row groupgetNewSpanRow
Gets the spanRow start columngetspanRowData
Gets spanRow lengthgetspanRowLength
Make Sequential colour gradient palettegradientColor
Add or delete horizontal lines in a ztablehlines
Returns whether or not column with position start plus length is group columnisGroupCol
Identify the spanCol status of a cellisspanCol
Identify the spanRow status of a cellisspanRow
Make align for an object of class ztable.mytablemake_align
Make a data.frame named "cellcolor" from ztable callmake.cell.color
Make a data.frame named "cellcolor" from ztable callmake.frontcolor
Add gradient background color to ztablemakeHeatmap
print html stylemyhtmlStyle
Find rgb value from color namename2rgb
Convert numeric vector min to 0, max to maxvaluenormalize2
Extract hexadecimal colors from a color palettepalette2colors
Place two or more ztables or figures side by side in Latex or HTML formatparallelTables
Place two or more ztables or figures side by side in HTML formatparallelTablesHTML
Place two or more ztables or figures side by side in Latex formatparallelTablesLatex
Print an object of class "ztable"print_ztable
Print an object of class "ztable"print.ztable
Print HTML head if ztable object a has a colgroupprintHTMLHead
Print the head of latex table if the object of ztable has a colgroupprintLatexHead
Print Row Groups in a latex tableprintRowGroup
Make vector x from vector colorrepColor
Round the numbers of a data.frameroundDf
Merging data cells of ztable object in columnsspanCol
Calculate the spanColWidth when spanCol startspanColWidth
Merging data cells of ztable object in rowsspanRow
Convert data to formatted data for tabletableLength
Calculating total columns of ztabletotalCol
Arrange total column to the lefttotalLeft
Subfunction used in ztable2latextr
Subfunction used in ztable2htmltr2
Make align and edit p value column for an object of class ztable.mytabletrim.ztable
Update ztable before printupdate_ztable
Find valid color namevalidColor
Find valid color namevalidColor2
Make a latex "align" from a string and vertical line specifiervline2align
Add or delete vertical lines in a ztablevlines
Definition of Latex Colorzcolors
Exporting "data.frame" to an object of class "ztable"ztable_sub
Make ztable from object cbind.mytableztable.cbind.mytable
Make ztable from object mytableztable.mytable
Exporting a R object to an object of class "ztable"ztable ztable.anova ztable.aov ztable.coxph ztable.data.frame ztable.default ztable.fitdistr ztable.glm ztable.lm ztable.matrix ztable.nls ztable.prcomp ztable.summary.prcomp ztable.table
Convert an object of ztable into an object of flextableztable2flextable
Print an object of class "ztable" to html tableztable2html
Print an object of class "ztable" to Latex tableztable2latex
Print an object of ztable via rstudioapi::viewerztable2viewer