View source: R/tableone_rename_headline.R
tableone.rename.overall | R Documentation |
These functions are used to change the headline character in the item name of a table created with CreateTableOne
to any character.
tableone.rename.overall
is a function that changes only the Overall of the table heading to an arbitrary character.
tableone.rename.headline
is a function that change any heading (including Overall) to any character by setting the table heading as an formula before and after the change.
tableone.rename.overall(x, rename.str)
tableone.rename.headline(x, rename.headline)
x |
Object returned by CreateTableOne function contain name of the heading to be changed. |
rename.str |
The string that want to change from "Overall". |
rename.headline |
Enter the name of the heading to be changed in formula form. If you want to change more than one heading, combine the formulas into a list format. Names that contain hyphens will be evaluated as negative in the formula, so they must be enclosed in quotation marks. |
An object of class TableOne
, which is a list of three objects.
CreateTableOne
, print.TableOne
, summary.TableOne
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.