Renaming row and header variables.
Usage
renaming(data, type = c("rows", "header"), replace)Arguments
- data
The
table_draftobject.- type
Whether to rename the row column or the headers.
- replace
If type is 'row', needs to be a function (anonymous or otherwise) using the
base::gsub()function to substitute patterns, words, characters, or symbols, etc. If type is 'header', needs to be a string of equal length as the header to replace the header variables.
See also
carpenter() for a list of all functions, examples, and
accessing the introduction tutorial vignette.
