# Import raw data for standard and active metabolic
# rate measurements (SMR and AMR, respectively)
# if the data have been already loaded to R,
# skip the first line of the code:
data(info)
if (FALSE) {
SMR.path = system.file("extdata/stickleback/SMR_raw.txt.xz", package = "FishResp")
SMR.raw <- import.meas(file = SMR.path,
info.data = info,
logger = "AutoResp",
n.chamber = 4,
date.format = "DMY",
start.measure = "22:00:00",
stop.measure = "06:00:00",
plot.temperature = TRUE,
plot.oxygen = TRUE)
AMR.path = system.file("extdata/stickleback/AMR_raw.txt.xz", package = "FishResp")
AMR.raw <- import.meas(file = AMR.path,
info.data = info,
logger = "AutoResp",
n.chamber = 4,
date.format = "DMY",
plot.temperature = TRUE,
plot.oxygen = TRUE)
# an example for importing raw data recorded by 'Q-box Aqua'
qbox.path = system.file("extdata/qboxaqua/qboxaqua.csv", package = "FishResp")
RMR.raw <- import.meas(file = qbox.path,
info.data = info,
logger = "QboxAqua",
n.chamber = 1,
date.format = "DMY",
start.measure = "23:30:00",
stop.measure = "01:00:00",
set.date.time = "23/02/2014/23:30:22",
meas.to.wait = 200,
plot.temperature = TRUE,
plot.oxygen = TRUE)
}
Run the code above in your browser using DataLab