# Creation of in-Text Summary Table

## Documentation for package ‘inTextSummaryTable’ version 3.3.5

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

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