rm.data | R Documentation |
The function nulls values of the column 'O2.correct' for specified measurement phase(s) of a specified chamber in a data frame generated by the function correct.meas
. As a result, those nulled data will not be available for futher steps of the analysis, particularly for the function extract.slope
.
rm.data(clean.data, chamber = c("CH1", "CH2", "CH3", "CH4", "CH5", "CH6", "CH7", "CH8"), M.phase = "M0")
clean.data |
a data frame obtained by using the function |
chamber |
string: the chamber where poor quality data were observed (must not contain multiple elements in a vector) |
M.phase |
string: the measurement phase(s) which should be eliminated from further steps of the analysis. |
The function returns a data frame containing data of metabolic rate measurements corrected for background respiration, where values of the column 'O2.correct' for exluded measurement phases were nulled. The data frame is used in the functions extract.slope
and QC.slope
.
# if the data have been already loaded to R, # skip the first line of the code: data(AMR.clean) AMR.clean.modified <- rm.data(AMR.clean, chamber = "CH3", M.phase = c("M1","M2"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.