View source: R/correctVarNames.r
correctVarNames | R Documentation |
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))
tab |
The data frame to be formatted. |
rowcol |
If |
cols |
Provide a vector of column indices of columns whose entries are to be reformatted. If |
Kaspar Rufibach (maintainer), kaspar.rufibach@gmail.com,
http://www.kasparrufibach.ch
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.