tableone.rename.headline: Change the Text of headline in a Table created with tableone

View source: R/tableone_rename_headline.R

tableone.rename.overallR Documentation

Change the Text of headline in a Table created with tableone

Description

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.

Usage

tableone.rename.overall(x, rename.str)

tableone.rename.headline(x, rename.headline)

Arguments

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.

Value

An object of class TableOne, which is a list of three objects.

See Also

CreateTableOne, print.TableOne, summary.TableOne


indenkun/infun documentation built on April 17, 2025, 2:52 p.m.