badvalue_backup: Backup bad values

Description Usage Arguments Value Author(s) See Also

Description

This function will backup the specified bad values of a data frame.

Usage

1
badvalue_backup(data, badstring, badpattern, badindex = "BADVAL")

Arguments

data

A data frame containing a column with an index of bad values.

badstring

Character. Specify the text for indexing (i.e. the names of columns that contain bad values).

badpattern

Character. Specify a pattern of bad values to clean multiple (but not all) columns of your data frame.

badindex

Character. Name of a column of the data frame that serves as an index for bad values.

Value

data frame

Author(s)

Frederik Sachser

See Also

badvalue_restore


sachserf/badval documentation built on May 29, 2019, 12:21 p.m.