replace_missing_and_negative_values: Function to replace missing and negative values in...

View source: R/replace_missing_and_negative_values.R

replace_missing_and_negative_valuesR Documentation

Function to replace missing and negative values in concentration and error tables in preparation for use with the EPA-PMF tool.

Description

Function to replace missing and negative values in concentration and error tables in preparation for use with the EPA-PMF tool.

Usage

replace_missing_and_negative_values(
  df,
  df_errors,
  zero_replace = 1e-06,
  na_replace = 10
)

Arguments

df

Data frame containing concentration data.

df_errors

Data frame containing errror or uncertainty data.

zero_replace

Replacement value for values which are <= 0.

na_replace

Replacement value for missing values (NA).

Value

Named list containing two tibbles.

Author(s)

Stuart K. Grange.


skgrange/pmfr documentation built on June 30, 2022, 12:28 a.m.