View source: R/normalizeDataframe.R
normalizeDataframe | R Documentation |
Normalizes a data.frame with respect to column types. This is necessary for comparing data.frames written to Excel and then read from Excel. Excel does not know e.g. factor types. Factor variables in fact are written to Excel as ordinary strings. Therefore, when read back in to R, they are treated as character variables.
normalizeDataframe(df, replaceInf)
df |
|
replaceInf |
|
Returns a normalized data.frame
Martin Studer
Mirai Solutions GmbH https://mirai-solutions.ch
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.