comma_cleaner {normfluodbf}R Documentation

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)

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

See Also

clean_odd_cc(), clean_odddat_optimus()

Examples

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

[Package normfluodbf version 1.5.2 Index]