formMWRacc {MassWateR}R Documentation

Format data quality objective accuracy data

Description

Format data quality objective accuracy data

Usage

formMWRacc(accdat)

Arguments

accdat

input data fram

Details

This function is used internally within readMWRacc to format the input data for downstream analysis. The formatting includes:

Value

A formatted data frame of the data quality objectives file for accuracy

Examples

accpth <- system.file('extdata/ExampleDQOAccuracy.xlsx', package = 'MassWateR')

accdat <- readxl::read_excel(accpth, na = c('NA', ''))
accdat <- dplyr::mutate(accdat, dplyr::across(-c(`Value Range`), ~ dplyr::na_if(.x, 'na')))

formMWRacc(accdat)

[Package MassWateR version 2.1.4 Index]