comma_cleaner | R Documentation |
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.
comma_cleaner(comma_df)
comma_df |
A dirty data frame obtained from the FLUOstar DAT file. |
A clean data frame with numeric no-comma values for attribute(s).
Tingwei Adeck
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.