QC.activity: Quality Control of Animal Activity

Description Usage Arguments Details Examples

View source: R/QC.activity.R

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

1
QC.activity(clean.data, compare = TRUE)

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

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

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