tableDoseCoverage {DrugUtilisation} | R Documentation |
Format a dose_coverage object into a visual table.
Description
Format a dose_coverage object into a visual table.
Usage
tableDoseCoverage(
result,
header = c("variable_name", "estimate_name"),
groupColumn = c("cdm_name", "ingredient_name"),
type = "gt",
hide = c("variable_level", "sample_size"),
.options = list()
)
Arguments
result |
A summarised_result object. |
header |
Columns to use as header. See options with
|
groupColumn |
Columns to group by. See options with
|
type |
Type of table. Check supported types with
|
hide |
Columns to hide from the visualisation. See options with
|
.options |
A named list with additional formatting options.
|
Value
A table with a formatted version of summariseDrugCoverage() results.
Examples
library(DrugUtilisation)
cdm <- mockDrugUtilisation()
result <- summariseDoseCoverage(cdm, 1125315)
tableDoseCoverage(result)
[Package DrugUtilisation version 1.0.4 Index]