NEWS
inTextSummaryTable 3.3.3 (2024-06-12)
- vignette: plot with 'presentation' style only created if Tahoma font is available
- fixes for ggplot2 updates:
- fix tests for new warning
- no use of aes_string
inTextSummaryTable 3.3.2 (2024-03-09)
- fix when percentage computed by variable and only one variable is specified
- subjectProfileSummaryPlot:
- fix when linetype/shape requested but no color variable
- tests: fix for ggplot2 >= 3.5.0 (new implementation guide system)
- exportSummaryStatisticsTable:
- tests: fix for flextable >= 0.9.5 (refactoring data structure content)
- doc: remove description-like items in itemize (R-devel 11/10/2023)
inTextSummaryTable 3.3.1 (2023-09-12)
- compare package version with character (for R > 4.3.1)
- package overview help: add alias 'inTextSummaryTable-package'
inTextSummaryTable 3.3.0 (2023-03-03)
- support export of a list of tables to txt files
- subjectProfileSummaryPlot - ggExtra:
- fix in case ggExtra contains data with different range
- support multiple calls via a function
- export to docx - landscape: fix inclusion of empty pages
- flextable export:
- fix vertical/horizontal merging header for columns with identical elements
- option to not merge header (colHeaderMerge)
- subjectProfileSummaryTable: use :: for .pt (ggplot2)
- getStats - formatPercentage parameter: remove unnecessary :::
inTextSummaryTable 3.2.1 (2022-11-18)
- subjectProfileSummaryPlot - updates for ggplot2 >= 3.4.0:
- geom line/error bar: switch from size -> linewidth
inTextSummaryTable 3.2.0 (2022-10-01)
- add extra doc (vignette) combining tables descriptive and inferential stats
- fix unit test for pandoc >= 2.19
- support multiple (consecutive) text formatting in one table cell
- flextable: specification of columns width (columnsWidth)
inTextSummaryTable 3.1.2
- no exports of:
- exportSummaryStatisticsTableToFlextable & exportSummaryStatisticsTableToDT -> exportSummaryStatisticsTable can be used instead
- convertSummaryStatisticsTableToFlextable
inTextSummaryTable 3.1.1 (2022-02-22)
- unit tests: extra fix stringsAsFactors (R >= 4.0.0)
- fixes for tibble input
inTextSummaryTable 3.1.0 (2021-09-28)
- computeSummaryStatisticsTable: output is S3 class: 'summaryTable'
- functionality to combine 'summaryTable'
- exportSummaryStatisticsTable is now available (as well) via 'export'
- ft export: fix empty line for table with flag var, var with subgroups and multiple stats
- group var (if included) is set to NA for a flag var
- option for warning/nothing if diff var values by subject
- unit tests: updates based on independent review
inTextSummaryTable 3.0.1 (2021-07-13)
- formatSummaryStatisticsTable: fix for column var with space
- unit tests/doc: fix for Pandoc (CRAN Solaris) + SystemRequirements
inTextSummaryTable 3.0.0 (2021-06-10)
- get palettes from 'clinUtils'
- rename 'getFlextable' into 'getListing'
- add 'getDimPage'
- remove 'roundHalfUp' functionality
- add color-blind palette
- remove dependency from previous utilityFct package
- add 'getLabelVar' as dependency from 'clinUtils'
- roundUpText renamed to 'roundHalfUpTextFormat'
- roundUp renamed to 'roundHalfUp'
- roundUp: remove deprecated parameter 'format'
- rename 'roundCustom' to 'roundUp'
- add function 'roundCustom'
- add function 'getFlextable'
inTextSummaryTable 2.23.0
- new fct geomSE
- subjectProfileSummaryPlot: new parameter: tablePlotMargin
inTextSummaryTable 2.22.1
inTextSummaryTable 2.22.0
- add fontface parameter in 'subjectProfileSummaryTable'
- getStats: supports 'mean (sd)' and '(min, max)'
- subjectProfileSummaryPlot:
- new parameter: tableYAxisLabs
- pass colorLab to subjectProfileSummaryTable
- subjectProfileSummaryTable/subjectProfileSummaryPlot: new parameter: legendPosition
- subjectProfileSummaryTable: fix display color var categories in correct order
inTextSummaryTable 2.21.1
- fix export summary table to DT in case multiple title formatted as HTML
inTextSummaryTable 2.21.0
- add unit tests
- reorganize introduction vignette, help page for pkg
- error if stats if not in correct format
- getStats: 'n/N (%)' is named by default for consistency
- compute summary statistics table:
- simpler impl for filter fct for var flag
- percentage and header total column extracted from 'total' if dataTotalCol if a list
- no error if unique stat name is in default stat name
- formatting flextable:
- check row var total include
- fix in case only one row total
- export to flextable:
- in separated file if by var is specified
- export to DT:
- title can be of length > 1
- pageDim should be of length 2
- fix when noEscapeVar contains all vars
- subject profile summary plot:
- extra checks input params
- fix ordering facets in case [x]Line specified
- deprecate yLimExpand -> yAxisExpand
- subject profile summary table:
- fix y-labels when color var is character
- compute stats/subject profile (table): simplify stats expr check
inTextSummaryTable 2.20.0
- add unit tests
- computeSummaryStatisticsTable: more formal checks + warning for var/[row|col]Var...
- computeSummaryStatisticsTable: fix in case varLab/rowVarLab/byVarLab not specified for all vars
- varSubgroupLab: change default 'variableGroup' -> 'Variable group'
- computeSummaryStatisticsTable: rowVarTotalByVar wrong spec: error -> warning, fix in case named charac
- computeSummaryStatisticsTableTotal: fix for warnings: 'attributes are not identical across measure variables...', 'cannot avoid coercion of factors...'
inTextSummaryTable 2.19.0
- add unit tests
- computeSummaryStatistics: fix for data with one column, extra error msg
- extension to percentage for records: computeSummaryStatisticsTable: 'statsPerc'; getStats: '%m','m (%)'
- computeSummaryStatisticsTable: fix for varFlag & [varInclude0 or varTotalInclude]
- computeSummaryStatistics: remove missing values in subjectVar (warning if this occur when var is specified)
- computeSummaryStatistics: simplify impl for empty data & cat var + filterEmptyVar TRUE by default for cat variable
- computeSummaryStatisticsTable: varInclude0 extended for subset of var
inTextSummaryTable 2.18.0
- exportSummaryStatisticsTableToDT: extend for expandVar/rowVarInSepCol/colVar
- subjectProfileSummaryPlot: xAxisExpand
inTextSummaryTable 2.17.0
- improve doc
- include unit tests
- computeSummaryStatisticsTable: fix when dataTotalPerc is specified but not rowVarTotalPerc
- roundCustomText: remove fix if digits is NA
- updates for utility pck 2.0.0
- internal functions: convertVarFlag
- fix error colVar -> colVarTotal in dataTotal
- extend 'file' parameter to export to all outputType
- computeSummaryStatistics: fix when no cat group is empty and statsExtra is specified
inTextSummaryTable 2.16.0
- change imports of color palette from utility to style pkg
- change flextable from style to utility pkg
- exportSummaryStatisticsTable: specify rowVarLab for DT output
- getStatsData: type and extra args for getStats for cat or cont variable separately
- same default for rowVarInSepCol (NULL) for DT and flextable output
inTextSummaryTable 2.15.0
- varLabInclude/statsLabInclude new parameters
- update vignette knitPrintListObjects
- subjectProfileSummaryPlot: minVar/maxVar
inTextSummaryTable 2.14.0
- roundCustomText: fix when digits is NA
- subjectProfileSummaryPlot: yTrans
- subjectProfileSummaryPlot: remove 'a' in legend when tableText is used
- computeSummaryStatisticsTable: fix order var for charac, or when not complete across colVar + unit tests
inTextSummaryTable 2.13.0
- example of greek letter in doc
- support custom formatting (superscript, subscript) for footnote
inTextSummaryTable 2.12.0
- getStatsData: extend type to any type available in getStats
- convertSummaryStatisticsTableToFlextable: fix padding header when multiple titles are provided
- formatSummaryStatisticsTable: fix when no total row
- computeSummaryStatistics: fix for R 4.0.0 stringsAsFactors = FALSE
- getStats: add 'n/N (%)'
inTextSummaryTable 2.11.0
- deprecate 'format' argument in 'roundCustomText'
- modify 'formatPercentage' function to assure that percentages have the same number of decimals
- include total counts per group with: 'var' set to 'all'
- conversion to flextable: varTotalInSepRow works for mixed table
- formatSummaryStatisticsTableFlextable: fix for extraction total when rowVar specified + fix extraction total rows
- getStatisticsSummaryStatisticsTable: fix for order stats when different stats by variable
inTextSummaryTable 2.10.0
- modify default legend in subjectProfileSummaryTable to substitute the 'a' with the point
- substitute 'expand_scale' with 'expansion' in subjectProfileSummaryTable only for ggplot2 >= 3.3
- unit test update for ggplot2 3.3.0
- subjectProfilePlot: remove 'tableLabel' (not used)
inTextSummaryTable 2.9.0
- remove '%' sign next to percentage in 'formatPercentage'
- modified 'getStats': when percentage is 100 it is not shown
- add unit tests for 'formatPercentage'
- add unit tests for 'getStats'
- formatSummaryStatisticsTable: check if multiple records in same row/col, check if only one 'stats' and no names
- computeSummaryStatistics: error when multiple different records for same subject for cont var + unit test
- exportSummaryStatisticsTableToFlextable: fix when empty df after filter total rows
- fix for flextable >= 0.5.9: 'display' -> 'compose'
- rowOrderCatLast: NULL by default, used if rowVar is factor and rowOrder is function
- computeSummaryStatisticsTable: fix when more columns in dataTotalRow than in data
- subjectProfileSummaryTable: export, fix when colorVar is not factor
inTextSummaryTable 2.8.0
- fix when 'variable' in 'colVar' when no other col vars
inTextSummaryTable 2.7.0
- 'variable' can be included in 'colVar'
- add text for explanation of 'rowVar' in 'computeSummaryStatisticsTable()'. Minor changes (e.g. typos) in the vignette.
- computeSummaryStatisticsTableTotal: fix in case rowVarTotalPerc is a factor
inTextSummaryTable 2.6.0
- subjectProfileSummaryPlot: xGap/xGapDiffNew new param
- computeSummaryStatisticsTable: fix for varFlag when only one variable is specified
inTextSummaryTable 2.5.2
- getStats: fix formatPercentage default (conflict with DT::formatPercentage)
inTextSummaryTable 2.5.1
- formatSummaryStatisticsTable: statistics in column with categorical variables is possible
- exportSummaryStatisticsTableToDT: remove: '.id' if no rowVar
inTextSummaryTable 2.5.0
- getStats: base statistics available in: 'type'
- getStats: fix for custom formatPercentage function
inTextSummaryTable 2.4.0
- export to DT: fix rowVarInSepCol <-> labelVars spec, pageLength not specified by default
- rowVarInSepCol default: NULL for flextable, rowVar otherwise
- outputType: 'data.frame-base'
- fix when one statistic and statistics in columns
- parameters can be passed to the toDT function
- DT output: numeric column if present (for filter box)
inTextSummaryTable 2.3.1
- getStatisticsSummaryStatisticsTable: stats: support simple list by variable
- computeSummaryStatisticsTable: sort variable/variableGroup before stats in output
inTextSummaryTable 2.3.0
- extend package to DT output (reorganize format/convert/export steps)
- computeSummaryStatisticsTable: ddply -> by (base R) to fix issue: names' attribute must be the same length as the vector
inTextSummaryTable 2.2.0
- possibility to have cells in bold
inTextSummaryTable 2.1.2
- rowOrder as a function: fix when row total is included
- introductory vignette: additional example for rowOrder
inTextSummaryTable 2.1.1
- example of the exportSummaryStatisticsTable function in the vignette
inTextSummaryTable 2.0.1
- computeSummaryStatisticsTable: fix for column header in case dataset for total columns is specified
- getStats: fix documentation: 'mean (se)'
inTextSummaryTable 2.0.0
- include vignette with template tables
- formatSummaryStatisticsTable: fixes when multiple records for total (rowVarTotalByVar)
- computeSummaryStatisticsTable: possibility to sort rows per total but not include total column
- convertVarFlag, varFlag
- varInclude0: to include empty rows for count variable
- computeSummaryStatisticsTable: possibility to specify varSubgroupLab even for one variable
- subjectProfileSummaryPlot: fix facet specification
- internal functions
inTextSummaryTable 1.8.0
- flextable functions moved to the style pkg
inTextSummaryTable 1.7.0
- computeSummaryStatisticsTable: varIncludeTotal -> varTotalInclude, possibility to include total only for a variable
- computeSummaryStatisticsTable: varTotalInSepRow new parameter
- include total per variable at the first row
- getStats: median\n(range) and includeName
- vignette: update demographic table + add example summary adverse events table
inTextSummaryTable 1.6.0
- example datasets moved to the utility pkg
- roundCustom -> roundCustomText
inTextSummaryTable 1.5.0
- convertSummaryStatisticsTableToFlextable: title for each element of byVar
inTextSummaryTable 1.4.0
- computeSummaryStatistics: dataTotalCol new param
inTextSummaryTable 1.3.0
- computeSummaryStatisticsTable: dataTotalRow
- get/computeSummaryStatisticTable: message and return NULL if no data
- computeSummaryStatisticsTable: rowOrderCatLast
- convertSummaryStatisticsTableToFlextable: doesn't merge rows with different padding (e.g. row header and row content)
- formatSummaryStatisticsTable: rowVarFormat (to include row variable in bold)
- get[]Flextable: set top/bottom padding to 0
inTextSummaryTable 1.2.1
- getNDecimals: fix when NA value, new: getMaxNDecimals
- convertSummaryStatisticsTableToFlextable: format superscript/subscript in title
- formatSummaryStatisticsTable: statsVar input param
inTextSummaryTable 1.2.0
- subjectProfileSummaryPlot: possibility to pass any parameters for geom_text_repel and list of expression/horizontal and vertical adjustments for label
inTextSummaryTable 1.1.0
- createFlextableWithHeader: fix in case no headerDf and ft are specified
- convertSummaryStatisticsTableToFlextable: remove line on top title
- subjectProfileSummaryPlot: themeIncludeVerticalGrid, vLine, fix table when only one value in x-axis
- subjectProfileSummaryPlot: fix when xVar is numeric and xAxisLabs not specified, multiple byVar,
- subjectProfileSummaryPlot: sizeLine also used for the error bars, default textSize depends on fontsize
- computeSummaryStatisticsTable: fix when no data, include 'statPercTotalN' column, ggExtra
- subjectProfileSummaryPlot: fix table n subjects when axes labs too big
- getStatisticsSummaryStatisticsTable: fix in case order statsVarInit and names(stats) different
inTextSummaryTable 1.0.0
- fix getStats
- formatSummaryStatisticsTable: remove 'Statistics' column if all the same
- getNDecimals
- getColorTable/colorTable parameter, pageDim parameter
- subjectProfileSummaryPlot: themeFct parameter, remove box and grid lines for table
- computeSummaryStatisticsTable: fix for multiple variables in byVar
- exportFlextableToDocx: breaksAfter
- convertSummaryStatisticsTableToFlextable: remove fixed width for statistic column
- getStats: summary add SE
inTextSummaryTable 0.0.10
- formatSummaryStatisticsTable: fix for rowSubtotalInSepRow
- rowAutoMerge, rowVarTotalPerc, rowVarTotalExtra
- formatSummaryStatisticsTable: remove 'Statistic' if only one statsVar specified and not named
- standardize 'Lab' parameters
- standardize row total specification: rowVarTotalInclude/rowVarSubtotalInclude -> rowVarTotalInclude, rowSubtotalInSepRow -> rowVarTotalInSepRow
- remove border in title, minimal h/v lines: only per row/column group, merge header columns for total and if needed
- subscript supported: formatSuperscriptToFlextable -> formatSuperSubscriptToFlextable
- vline parameter and default no vertical lines
- fix use use rowPadBase
inTextSummaryTable 0.0.9
- statsValueLab, dataTotalPerc, colVarTotal, colVarTotalPerc new parameters
- export exportFlextableToDocx
- se, cv, geomMean, geomSD, geomCV function
- reduce height header and footer
inTextSummaryTable 0.0.8
- exportSummaryStatisticsTable: create directory of file if not present
- createFlextableWithHeader: correct order if multiple title
- export convertSummaryStatisticsTableToFlextable function
- export to file in convertSummaryStatisticsTableToFlextable
- colHeaderTotalInclude, statsExtra parameter
inTextSummaryTable 0.0.7
- subjectProfileSummaryPlot: fixes xAxisLabs specification with jitter x-axis
- computeSummaryStatistics: fix for order colVar in case total colum included
- set font presentation to Tahoma and default font size
- fix test roundCustom
inTextSummaryTable 0.0.6
- getSummaryStatisticsTable: remove sub-total statistics if all nested vars are missing
- computeSummaryStatisticsByRowColVar: doesn't propagate NA for interaction of row/colVar variables
- computeSummaryStatisticsTable: support combine use of colTotalInclude with rowTotalInclude or rowSubtotalInclude
- new parameter: style
- convertSummaryStatisticsTableToFlextable: format superscript inside table to flextable
- new function: get[]Flextable
- subjectProfileSummaryPlot: xAxisLabs, byVar, table, hLine
- [row|col]VarDataLevels
- re-label all statistics with 'stat' and attributes in 'summaryTable' slot
- combineVariables: fix in case empty input data
inTextSummaryTable 0.0.5
- roundCustom: format parameter, 'text' by default
- set empty label for when variable specified for count tablee
- set empty title by default
- formatSummaryStatisticsTable: merge row if only one element
- set rowPadBase to 4
- horizontal lines: remove horizontal lines in statsLayout is 'row'
- subjectProfileSummaryPlot: seVar optional
- compute/export[SummaryStatisticsTable]: add defaults for attributes summaryTable
inTextSummaryTable 0.0.4
- statsLayout parameter
- remove Percm (percentage of records based on dataTotal)
- byVar and getAttribute function
- example mock-up table in vignette
inTextSummaryTable 0.0.3
- convertVarToFactorWithOrder: remove warning in case only one row variable is specified and add check if otherVars is of length 1
- additional example vignette: combineVars, function for rowOrder
inTextSummaryTable 0.0.2
- add tests
- consistent functions naming: computeSummaryStatistics -> computeSummaryStatisticsTable, getSummaryStatistics -> computeSummaryStatistics
- subjectProfileSummaryPlot: fix for 'useLinetype'
- formatSummaryStatisticsTable: fix issue padding in case statistic is a character
- computeSummaryStatisticsTable: fix in case rowVar is a factor and rowTotalInclude, new parameter: colTotalInclude
O new parameter: rowSubtotalInclude
- new function: combineVariables
- functionalities to order rows with convertVarToFactorWithOrder
- computeSummaryStatisticsTable and new computeSummaryStatisticsByRowColVar: include 0 counts
- include mixed table, multiple variables
inTextSummaryTable 0.0.1