Skip to contents

Table functions

Main functions

visOmopTable()
Generate a formatted table from a <summarised_result>
visTable()
Generate a formatted table from a <data.table>

Additional table formating functions

formatTable()
Creates a flextable or gt object from a dataframe
formatEstimateName()
Formats estimate_name and estimate_value column
formatEstimateValue()
Formats the estimate_value column
formatHeader()
Create a header for gt and flextable objects
formatMinCellCount()
To indicate which was the minimum cell counts where estimates have been suppressed.

Helper table functions

setGlobalTableOptions()
Set format options for all subsequent tables
tableColumns()
Columns for the table functions
tableStyle()
Pre-defined styles are available for tables
tableType()
Supported table classes
tableOptions()
Additional table formatting options for visOmopTable() and visTable()
emptyTable()
Returns an empty table

Plot functions

barPlot()
Create a bar plot visualisation from a data frame or a <summarised_result> object.
scatterPlot()
Create a scatter plot visualisation from a data frame or a <summarised_result> object.
boxPlot()
Create a box plot visualisation from a data frame or a <summarised_result> object.
alluvialPlot()
Create an alluvial plot visualisation from a data frame or a <summarised_result> object.

Helper plot functions

setGlobalPlotOptions()
Set format options for all subsequent plots
plotColumns()
Columns for the plot functions
plotStyle()
Pre-defined styles are available for plots
plotType()
Supported plot types
themeVisOmop()
Apply a pre-defined visOmopResults theme to a ggplot
emptyPlot()
Returns an empty plot

Other functionalities

To style text

customiseText()
Apply styling to text or column names

Mock <summarised_result>

mockSummarisedResult()
A <summarised_result> object filled with mock data
data
List of mock results