gtCharacteristics {PatientProfiles} | R Documentation |
Create a gt table from a summarisedCharacteristics object.
Description
'r lifecycle::badge("deprecated")'
Usage
gtCharacteristics(
summarisedCharacteristics,
pivotWide = c("CDM Name", "Group", "Strata"),
format = c(`N (%)` = "count (percentage%)", "median [min; q25 - q75; max]",
"mean (sd)", "median [q25 - q75]", N = "count"),
keepNotFormatted = TRUE,
decimals = c(default = 0),
decimalMark = ".",
bigMark = ","
)
Arguments
summarisedCharacteristics |
Summary characteristics long table. |
pivotWide |
variables to pivot wide. |
format |
formats and labels to use. |
keepNotFormatted |
Whether to keep not formatted estimate types. |
decimals |
Decimals per estimate_type. |
decimalMark |
decimal mark. |
bigMark |
big mark. |
Value
New table in gt format.
[Package PatientProfiles version 0.8.0 Index]