Package: DescrTab2 2.1.26

Jan Meis

DescrTab2: Publication Quality Descriptive Statistics Tables

Provides functions to create descriptive statistics tables for continuous and categorical variables. By default, summary statistics such as mean, standard deviation, quantiles, minimum and maximum for continuous variables and relative and absolute frequencies for categorical variables are calculated. 'DescrTab2' features a sophisticated algorithm to choose appropriate test statistics for your data and provides p-values. On top of this, confidence intervals for group differences of appropriated summary measures are automatically produces for two-group comparison. Tables generated by 'DescrTab2' can be integrated in a variety of document formats, including .html, .tex and .docx documents. 'DescrTab2' also allows printing tables to console and saving table objects for later use.

Authors:Jan Meis [aut, cre], Lukas Baumann [aut], Maximilian Pilz [aut], Lukas Sauer [aut]

DescrTab2_2.1.26.tar.gz
DescrTab2_2.1.26.zip(r-4.5)DescrTab2_2.1.26.zip(r-4.4)DescrTab2_2.1.26.zip(r-4.3)
DescrTab2_2.1.26.tgz(r-4.4-any)DescrTab2_2.1.26.tgz(r-4.3-any)
DescrTab2_2.1.26.tar.gz(r-4.5-noble)DescrTab2_2.1.26.tar.gz(r-4.4-noble)
DescrTab2_2.1.26.tgz(r-4.4-emscripten)DescrTab2_2.1.26.tgz(r-4.3-emscripten)
DescrTab2.pdf |DescrTab2.html
DescrTab2/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/imbi-heidelberg/descrtab2/issues

On CRAN:

categorical-variablescontinuous-variabledescriptive-statisticsp-valuesstatistical-testsstatistics

14 exports 9 stars 1.98 score 131 dependencies 1 dependents 19 scripts 459 downloads

Last updated 8 months agofrom:f157380e7a. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 12 2024
R-4.5-winNOTESep 12 2024
R-4.5-linuxNOTESep 12 2024
R-4.4-winNOTESep 12 2024
R-4.4-macNOTESep 12 2024
R-4.3-winNOTESep 12 2024
R-4.3-macNOTESep 12 2024

Exports:codegen_load_all_sas_datadescrextract_labelsfarrington.manningguess_ID_variablelapply_descrlist_freetext_markdownparse_formatsprint_test_namesread_redcap_formattedread_sas_formattedsig_testsplit_redcap_datasetunlabel

Dependencies:askpassbackportsbase64encbitbit64bootbriobslibcachemcallrcellrangercheckmateclassclicliprclustercolorspacecpp11crayoncurldata.tabledescDescToolsdiffobjdigestdplyre1071evaluateExactexact2x2exactciexpmfansifarverfastmapflextablefontawesomefontBitstreamVerafontLiberationfontquiverforcatsforeignFormulafsgdtoolsgenericsggplot2gldgluegridExtragtablehavenhighrHmischmshtmlTablehtmltoolshtmlwidgetshttrisobandjquerylibjsonlitekableExtraknitrlabelinglatticelifecyclelmommagrittrMASSMatrixmemoisemgcvmimemunsellmvtnormnlmennetofficeropensslpillarpkgbuildpkgconfigpkgloadpraiseprettyunitsprocessxprogressproxypsR6raggrappdirsRColorBrewerRcppreadrreadxlrematchrematch2rlangrmarkdownrootSolverpartrprojrootrstudioapisassscalesssanvstringistringrsvglitesyssystemfontstestthattextshapingtibbletidyselecttinytextzdbutf8uuidvctrsviridisviridisLitevroomwaldowithrxfunxml2yamlzip

Test choice tree

Rendered fromb_test_choice_tree.Rmdusingknitr::rmarkdownon Sep 12 2024.

Last update: 2023-11-24
Started: 2023-11-24

Comparison with other software

Rendered fromc_other_software_comparison.Rmdusingknitr::rmarkdownon Sep 12 2024.

Last update: 2023-11-23
Started: 2021-11-14

Maintenance guidance

Rendered frome_maintenance_guide.Rmdusingknitr::rmarkdownon Sep 12 2024.

Last update: 2021-11-14
Started: 2021-11-14

Usage guidance

Rendered froma_usage_guide.Rmdusingknitr::rmarkdownon Sep 12 2024.

Last update: 2023-11-23
Started: 2021-11-14

Validation statement

Rendered fromd_validation_statement.Rmdusingknitr::rmarkdownon Sep 12 2024.

Last update: 2021-12-02
Started: 2021-11-14

Readme and manuals

Help Manual

Help pageTopics
Load LaTeX packages.onLoad
Check whether a vector (usually a factor) can be cleanly converted to a numericcan.be.numeric
Create code to load all SAS datasets in a folder.codegen_load_all_sas_data
Function to create (a part of a) nicely formatted tablecreate_character_subtable
Function to create (a part of a) nicely formatted tablecreate_numeric_subtable
Calculate descriptive statisticsdescr
DescrTab2DescrTab2
Escape LaTeX Symbolsescape_latex_symbols
Extract the label attribute from dataextract_labels
Farrington-Manning test for rate differencefarrington.manning
Formatting function for absolute and relative frequenciesformat_freqs
Make an educated guess about the name of the ID variable from a datasetguess_ID_variable
do.call but without an error for unused argumentsignore_unused_args
Wrap cell text in minipage LaTeX environment with stretchy spacein_minipage
S3 override for knit_print function for DescrList objects.knit_print.DescrList
S3 override for knit_print function for DescrPrint objects.knit_print.DescrPrint
Convenience function to apply descr to a list of datasets and print the resultslapply_descr
Create a markdown listing from a character datasetlist_freetext_markdown
Digits before decimal -1n_int_digits
Parse a text file containing format informationparse_formats
Prints all possible tests namesprint_test_names
S3 override for print function for DescrList objects.print.DescrList
Convencience function to load datasets downloaded from a Redcap databaseread_redcap_formatted
Convencience function to load SAS datasetsread_sas_formatted
Calculates a statistical significance testsig_test
Format number to a specified number of digits, considering threshold for usage of scientific notationsigfig
Generator function for nice formatting functionssigfig_gen
Split a dataset imported from Redcap into convenient subsetssplit_redcap_dataset
Remove the label attribute from dataunlabel
Function that returns true in CRAN submissionwrite_in_tmpfile_for_cran