Learn R Programming

normfluodbf (version 1.5.2)

comma_cleaner: Title: 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)

Value

A clean data frame with numeric no-comma values for attribute(s).

Arguments

comma_df

A dirty data frame obtained from the FLUOstar DAT file.

Author

Tingwei Adeck

See Also

clean_odd_cc(), clean_odddat_optimus()

Examples

Run this code
fpath <- system.file("extdata", "dat_1.dat", package = "normfluodbf", mustWork = TRUE)
dat_df <- read.table(file=fpath)
nocomma_dat <- comma_cleaner(dat_df)

Run the code above in your browser using DataLab