Replace all relevant characters in the entries and row- and colnames of a data frame
such that xtable
does not complain displaying them.
correctVarNames(tab, rowcol = TRUE, cols = 1:ncol(tab))
The data frame to be formatted.
If TRUE
, row- and colnames are reformatted.
Provide a vector of column indices of columns whose entries are to be reformatted. If NA
, none of the entries of the initial data frame is formatted.
Kaspar Rufibach (maintainer), kaspar.rufibach@gmail.com,
http://www.kasparrufibach.ch