QC.activity: Quality Control of Animal Activity

View source: R/QC.activity.R

QC.activityR Documentation

Quality Control of Animal Activity

Description

Graphical quality control tests for animal activity in chambers over the period of measurements defined in the function correct.meas. The function is used for determination of time period for calculation of standard or resting metabolic rate. Note, that mass-specific metabolic rate is calculated for each period of measurements (not raw data).

Usage

QC.activity(clean.data, compare = TRUE, output = FALSE)

Arguments

clean.data

a data frame obtained by using the function correct.meas

compare

logical: if TRUE then two graphs are plotted to compare mass-specific metabolic rate before and after correction for background respiration

output

logical: if TRUE then the functions return output or print it

Details

QC.activity uses functions extract.slope and calculate.MR with default parameters (excluding r^{2} = 0) to plot a graph of animal activity

Examples

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

QC.activity(SMR.clean, compare = TRUE)


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