clean_odd_cc {normfluodbf}R Documentation

Title: DAT file data frame cleaner.

Description

The function takes the dirty data frame obtained from reading the FLUOstar DAT file and applies a function called comma_cleaner() to the dirty data frame, which automatically inserts NAs in place of the special characters, and rows with NAs only are removed.

Usage

clean_odd_cc(df)

Arguments

df

A dirty data frame obtained from the FLUOstar DAT file.

Value

A clean data frame with clean NA values retained.

Author(s)

Tingwei Adeck

See Also

comma_cleaner(), clean_odddat_optimus()

Examples

fpath <- system.file("extdata", "dat_3.dat", package = "normfluodbf", mustWork = TRUE)
dat_df <- read.table(file=fpath)
cleaned_dat <- clean_odd_cc(dat_df)

[Package normfluodbf version 1.5.2 Index]