QC.slope | R Documentation |
Graphical quality control test of extracted slopes represents a visual comparison of linear regression of corrected O_{2} concentration over time with current and alternative length of measurements.
QC.slope(slope.data, clean.data, chamber = c("CH1", "CH2", "CH3", "CH4", "CH5", "CH6", "CH7", "CH8"), current = 999999, alter = 999999, residuals = FALSE)
slope.data |
a data frame obtained by using the function |
clean.data |
a data frame obtained by using the function |
chamber |
string: the chamber chosen for the QC test |
current |
integer: current length of measurements for slope estimation (in seconds, black line) |
alter |
integer: alternative length of measurements for slope estimation (in seconds, red line) |
residuals |
logical: if TRUE then regression diagnostic graphs are plotted for each slope estimation (black graphs: for current slope estimation; red graphs: for alternative slope estimation). More information on diagnostic graphs can be found in the documentation of the function |
# if the data have been already loaded to R, # skip the first four lines of the code: data(SMR.clean) data(SMR.slope) data(AMR.clean) data(AMR.slope) QC.slope(SMR.slope, SMR.clean, chamber = "CH1", current = 1200, alter = 600) QC.slope(AMR.slope, AMR.clean, chamber = "CH4", current = 600, alter = 300, residuals = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.