badvalue_restore: Restore bad values

Description Usage Arguments Value Note Author(s) See Also

Description

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

Usage

1
badvalue_restore(goodstring, backup_data, cleaned_data)

Arguments

goodstring

Character. Name of a column that should be restored.

backup_data

A data frame containing only bad values and NA.

cleaned_data

A data frame containing data without bad values

Value

data frame

Note

The Index will compare and use row.names of both datasets to restore the values. Therefore you should not use the function if you manually changed the row names of the cleaned data after creating the backup data.

Author(s)

Frederik Sachser

See Also

badvalue_backup


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