common_rownames | R Documentation |
A function to transform the gt
row names from generics to the column name and the total N of
each column
common_rownames(data, group)
data |
the data to create columns with |
group |
whether to group the data to calculate Ns |
A character vector
data(adsl, package = "tidyCDISC")
# Values of TRT01P
unique(adsl$TRT01P)
# Common row names based on TRT01P
common_rownames(adsl, "TRT01P")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.