Description Usage Arguments Value Note Author(s) See Also
This function will backup the specified bad values of a data frame.
1 | badvalue_restore(goodstring, backup_data, cleaned_data)
|
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 |
data frame
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.
Frederik Sachser
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.