scrubber: A data scrubber

Description Usage Arguments Examples

Description

This function helps you remove error values from your data. It is common for oceanographic instrumentation to report error values during a project. Typically these are -999 or 0. Whatever your error value is, this function helps replace these values with NA. This effectively removes error values from the dataset. The clean data is saved under dataset in the global environment.

Usage

1
scrubber(dataframe, replacee, replacer = NA)

Arguments

dataframe

The dataset to be cleaned.

replacee

The error values to be replace.

replacer

The value used to replace your error values. This is automativally set to NA, but can be changed.

Examples

1
2
3
4
5
6

MattForsyth/oceanchemistry documentation built on May 25, 2019, 12:23 p.m.