correctVarNames: Modify all entries in a data frame such that xtable has no...

Description Usage Arguments Author(s)

View source: R/correctVarNames.r

Description

Replace all relevant characters in the entries and row- and colnames of a data frame such that xtable does not complain displaying them.

Usage

1
correctVarNames(tab, rowcol = TRUE, cols = 1:ncol(tab))

Arguments

tab

The data frame to be formatted.

rowcol

If TRUE, row- and colnames are reformatted.

cols

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.

Author(s)

Kaspar Rufibach (maintainer), kaspar.rufibach@gmail.com,
http://www.kasparrufibach.ch


reporttools documentation built on Oct. 12, 2021, 5:06 p.m.