comma_cleaner {normfluodbf} | R Documentation |
Comma Cleaner function.
Description
This modular function, in the context of this package, is responsible for removing commas from attribute(s) values. Removal of commas facilitates the conversion of attributes into the numeric class.
Usage
comma_cleaner(comma_df)
Arguments
comma_df |
A dirty data frame obtained from the FLUOstar DAT file. |
Value
A clean data frame with numeric no-comma values for attribute(s).
Author(s)
Tingwei Adeck
Examples
## Not run:
fpath <- system.file("extdata", "dat_1.dat", package = "normfluodbf", mustWork = TRUE)
dat_df <- read.table(file=fpath)
nocomma_dat <- comma_cleaner(dat_df)
## End(Not run)
[Package normfluodbf version 2.0.0 Index]