Description Usage Arguments Examples
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.
1 |
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 |
1 2 3 4 5 6 | library(oceanchemistry)
data("dirty_greenland")
head(dirty_greenland)
scrubber(dirty_greenland, c(-999,0))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.