QC.meas: Quality Control of Raw Data

Description Usage Arguments Examples

View source: R/QC.meas.R

Description

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

Usage

1
2
3
4
5
6
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## 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 Oct. 22, 2018, 9:03 a.m.