Renaming row and header variables.
renaming(data, type = c("rows", "header"), replace)The table_draft object.
Whether to rename the row column or the headers.
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.
Adds to the table outline to rename the rows and/or header variables in the final table.
carpenter() for a list of all functions, examples, and
accessing the introduction tutorial vignette.