badindex_rm_na: Remove badstring if is.na(badvalue)

Description Usage Arguments Author(s) See Also

Description

This function will remove corresponding badstrings from badindex if badvalues are missing (NA).

Usage

1
2
badindex_rm_na(data, badstring = NULL, badindex = "BADVAL",
  separator = ",")

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).

badindex

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

separator

Character. Specify the separator between the text. It is not advisable to use '|'.

Author(s)

Frederik Sachser

See Also

badindex_rm_sep


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