Package: inTextSummaryTable 3.3.5

Laure Cougnaud

inTextSummaryTable: Creation of in-Text Summary Table

Creation of tables of summary statistics or counts for clinical data (for 'TLFs'). These tables can be exported as in-text table (with the 'flextable' package) for a Clinical Study Report (Word format) or a 'topline' presentation (PowerPoint format), or as interactive table (with the 'DT' package) to an html document for clinical data review.

Authors:Laure Cougnaud [aut, cre], Michela Pasetto [aut], Margaux Faes [rev], Open Analytics [cph]

inTextSummaryTable_3.3.5.tar.gz
inTextSummaryTable_3.3.5.zip(r-4.7)inTextSummaryTable_3.3.5.zip(r-4.6)inTextSummaryTable_3.3.5.zip(r-4.5)
inTextSummaryTable_3.3.5.tgz(r-4.6-any)inTextSummaryTable_3.3.5.tgz(r-4.5-any)
inTextSummaryTable_3.3.5.tar.gz(r-4.7-any)inTextSummaryTable_3.3.5.tar.gz(r-4.6-any)
inTextSummaryTable_3.3.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
inTextSummaryTable/json (API)

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

Bug tracker:https://github.com/openanalytics/intextsummarytable/issues

On CRAN:

Conda:

6.21 score 2 stars 58 scripts 371 downloads 32 exports 91 dependencies

Last updated from:ea79df8935. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK232
source / vignettesOK287
linux-release-x86_64OK228
macos-release-arm64OK277
macos-oldrel-arm64OK206
windows-develOK161
windows-releaseOK166
windows-oldrelOK167
wasm-releaseOK164

Exports:combinecombineVariablescomputeSummaryStatisticscomputeSummaryStatisticsTableconvertVectToBinarycreateFlextableWithHeadercvexportexportFlextableToDocxexportSummaryStatisticsTableformatPercentagegeomCVgeomMeangeomSDgeomSEgetColorPaletteTablegetDimPagegetListinggetMaxNDecimalsgetMaxNDecimalsDatagetNDecimalsgetNDecimalsDatagetNDecimalsRulegetStatsgetStatsDatagetSummaryStatisticsTablepageDimPresentationsesubjectProfileSummaryPlotsubjectProfileSummaryTabletableColorsPresentationtableColorsReport

Dependencies:askpassbase64encbitbit64bslibcachemcliclinUtilscliprcowplotcpp11crayoncrosstalkdata.tabledigestdplyrDTevaluatefarverfastmapflextablefontawesomefontBitstreamVerafontLiberationfontquiverforcatsfsgdtoolsgenericsggplot2ggrepelgluegtablehavenhighrhmshtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglaterlazyevallifecyclemagrittrmemoisemimeofficeropensslotelpillarpkgconfigplyrprettyunitsprogresspromisespurrrR6raggrappdirsRColorBrewerRcppreadrreshape2rlangrmarkdownS7sassscalesstringistringrsyssystemfontstextshapingtibbletidyrtidyselecttinytextzdbutf8uuidvctrsviridisLitevroomwithrxfunxml2yamlzip

Advanced user in-text tables
Detailed framework of the creation of the in-text table | Computation of the summary statistics | Export table to the requested format | Combine summary statistics table | Via the combine function | Manually | Statistics in rows | Statistics in rows, in an extra column | Statistics in an extra column | Data pre-processing | Appendix | Session information

Last update: 2025-09-24
Started: 2022-02-01

Aesthetics
Available options | Options for reporting | Colors | Dimension of the page | Options for visualization | Set back default palettes | Set up specific palettes | Page dimensions in report/presentation | Appendix | Session information

Last update: 2025-09-24
Started: 2022-02-01

Creation of in-text tables
Variable(s) to summarize | Categorical variable | Counts of the entire dataset | Counts of categories | Sort categories | Inclusion of categories not available in the data | Count table for 'flag'-variables | Inclusion of total across categories | Continuous variable | Continuous and categorical variables in the table | Statistics of interest | Standard statistic set | Categorical table | Custom statistics formatting (Advanced) | Statistics by variable/group | Extra statistics | Rounding strategy | Number of decimals | Default number of decimals | Continuous variable | Custom stats function (Advanced) | Statistics layout | Table layout | Row and column variables | Row variable | Variable in separated column | Row ordering | Common order for all row variables | Different orders for each row variable | Row order based on the total of a column category | Row order based on a custom specified function | Row variable labels | Based on dataset | Custom | Inclusion of row/column categories not available in the data | Default | Summary variable in columns | Inclusion of summary variables in case one variable is specified | Inclusion of the counts per group in case of missing values | Total | Summary | Total for the column header | Current datasset | External dataset | Remove total in column header | Percentage | Dataset | Variables to compute percentage by | Percentage of the number of records | Total across columns | Inclusion | Label | Total across rows | Inclusion as separated category | Labels | Title and footnote | Appendix | Session information

Last update: 2025-09-24
Started: 2022-02-01

Creation of standard in-text tables with the inTextSummaryTable package
Introduction | Data format | Subject information | Subject disposition | Demographics | Baseline disease characteristics | Medical History and Concomitant Diseases | Efficacy Analyses | Safety Analyses | Adverse Events | Treatment-emergent summary table | Treatment-emergent incidence table | Events occuring in at least one subject | Events occuring in at least 25% of all subjects | Treatment-emergent worst-case table | Laboratory safety | Table of laboratory abnormalities | Electrocardiogram | Vital signs | Treatment-emergent vital signs abnormalities | Pharmacokinetics analysis | Appendix | Session information

Last update: 2025-09-24
Started: 2022-02-01

Exporting in-text tables
Load packages and data | Output formats | Static table for Word/Powerpoint | General format | Style: report or presentation | Interactive table for html | Data frames for R | Final table | Full table in long format | Differences between the format | Custom aesthetics | Colors | Dimension of the page | Further info on asthetics | Set back default palettes | Export table to a separated file | Export table of pre-computed summary statistics | Text formatting | Superscript/subscript | Bold and greek letters | Create multiple tables by a variable | Listing | Filter records in a table | Appendix | Session information

Last update: 2025-09-24
Started: 2022-02-01

Introduction to the inTextSummaryTable package
Introduction | Data format | Create your tables | Table formatting/export | Advanced users | Visualization | Aesthetics | Appendix | Session information

Last update: 2025-09-24
Started: 2022-02-01

Visualization functionalities
Load packages and data | Compute summary statistics | Visualization for A4 document | Visualization for presentation | Palettes | Custom palettes via arguments in the function | Color palette | Shape and linetype palettes | Custom palettes via setting global options | Coloring palettes | Set back default palettes | Visualization without count table | Visualization by facets | Customize your visualization | Appendix | Session information

Last update: 2025-09-24
Started: 2022-02-01

Readme and manuals

Help Manual

Help pageTopics
Check if variable(s) are present in reference: either in columns in a dataset or in reference set.checkVar
Check the 'varLabInclude' variable.checkVarLabInclude
Combine objectscombine
Combine summary statistics tablecombine.summaryTable
Combine the column total for a combined summary tablecombineColTotal
Create a data.frame combining a set of records from same or multiple variables.combineVariables
Compute summary statistics of interest of an unique variable of interest.computeSummaryStatistics
Compute summary statistics for a specific dataset and variables of interestcomputeSummaryStatisticsTable
Convert summary statistics table to flextableconvertSummaryStatisticsTableToFlextable
Convert flag variable to a format such as only the flagged records are counted in the summary table.convertVarFlag
Convert 'rowVar', 'colVar' and character 'var' in 'data' to factorconvertVarRowVarColVarToFactor
Convert vector to a bincode of 0/1 based on consecutive values in the vector.convertVectToBinary
Create a flextable, setting the column names to syntactic names if it is not the case.createFlextableWithHeader
Compute the percentage coefficient of variation, (in a scale from 0 to 100).cv
Export an objectexport
Export a summary table to 'docx', 'pptx' or 'html' format (interactive table)export.summaryTable exportSummaryStatisticsTable
Export flextable to docx fileexportFlextableToDocx
Export summary table to an interactive DT table, e.g. to be exported into an html document.exportSummaryStatisticsTableToDT
Export summary table to a flextable object, e.g. to be exported in Word or PowerPoint.exportSummaryStatisticsTableToFlextable
Format a percentage.formatPercentage
Format summary statistics table for exportformatSummaryStatisticsTable
Merge nested rows of a summary table for a format compatible with 'flextable'formatSummaryStatisticsTableFlextable
Compute geometric coefficient of variation (in a scale from 0 to 100).geomCV
Compute geometric mean.geomMean
Compute geometric standard deviationgeomSD
Compute geometric standard error of the mean.geomSE
Get color palette for the tablesgetColorPaletteTable
Get dimension of the page available for content for standard Word report or PowerPoint presentation.getDimPage
Format or create flextable for listings.getListing
Get maximum number of decimals in a variable, based on pre-defined rule and/or data.getMaxNDecimals
Get maximum number of decimals in a variable based on the data ('getNDecimalsData')getMaxNDecimalsData
Get number of decimals for a specific vector.getNDecimals
Get number of decimals based on the data in a numeric vector. Note: NA is returned if the element is missing (NA).getNDecimalsData
Get number of decimals based pre-defined rule(s).getNDecimalsRule
Get position(s) (start, end) of a pattern in a string.getPatternPosition
Get default set of statistics for one particular variable.getStats
Get default set of statistics for variables of interest and specific dataset.getStatsData
Get summary statistics tablegetSummaryStatisticsTable
inTextSummaryTable: creation of in-text summary tableinTextSummaryTable-package inTextSummaryTable
Arguments used across the functions of the inTextSummaryTable package.inTextSummaryTable-common-args
Common arguments for the functionalities of the inTextSummaryTable package for DT export.inTextSummaryTable-DT-args
Common arguments for the functionalities of the inTextSummaryTable package for flextable export.inTextSummaryTable-flextable-args
Statistics in the in-text table package.inTextSummaryTable-stats
Common arguments for the for the statistics utility functions of the inTextSummaryTable package.inTextSummaryTable-stats-utility
Page dimension for powerpointspageDimPresentation
Post-process the summary statistics table with variable flag.postProcessVarFlag
Compute standard error of the mean.se
Plot subject summary profile.subjectProfileSummaryPlot
Plot a table with 'ggplot' of a text variable of interest.subjectProfileSummaryTable
'summaryTable'summaryTable
Colors for tables in a presentation styletableColorsPresentation
Colors for tables in a report styletableColorsReport
Get unique variables with meaningful order.uniqueVarWithOrder
Custom function to write table to a text filewriteTable