QC.meas: Quality Control of Raw Data

View source: R/QC.meas.R

QC.measR Documentation

Quality Control of Raw Data

Description

Graphical quality control tests of temperature and oxygen raw data before and after correction for background respiration

Usage

QC.meas(clean.data,
        QC = c("Temperature",
               "Total.O2.phases",
               "Corrected.O2.phases",
               "Total.O2.chambers",
               "Corrected.O2.chambers"))

Arguments

clean.data

a data frame obtained by using the function correct.meas

QC

string: the name of a visual QC test. Five options are available:

  • "Temperature": a graph of temperature vs. time ordered by chambers

  • "Total.O2.chambers": a graph of dissolved oxygen vs. time ordered by chambers

  • "Total.O2.phases": a graph of dissolved oxygen vs. time ordered by chambers and phases

  • "Corrected.O2.chambers": a graph of dissolved oxygen corrected for background respiration vs. time ordered by chambers

  • "Corrected.O2.phases": a graph of dissolved oxygen corrected for background respiration vs. time ordered by chambers and phases

Examples

## Not run: 
# if the data have been already loaded to R,
# skip the first line of the code:
data(SMR.clean)

QC.meas(SMR.clean, "Temperature")
QC.meas(SMR.clean, "Total.O2.phases")
QC.meas(SMR.clean, "Corrected.O2.phases")
QC.meas(SMR.clean, "Total.O2.chambers")
QC.meas(SMR.clean, "Corrected.O2.chambers")

## End(Not run)

FishResp documentation built on Sept. 18, 2022, 5:06 p.m.