plotRaw {rMR} | R Documentation |
Plotting Data from Witrox
Description
A good way to visualize your respiro data to get an idea of where to set up the time intervals in functions like MR.loops()
or get.pcrit()
.
Usage
plotRaw(data, DO.var.name, time.var.name = "std.time",
start.time = data$x[1],
end.time = data$x[length(data$x)],...)
Arguments
data |
data object for plotting |
DO.var.name |
A character string matching the column header for the DO variable column. |
time.var.name |
Column name of time (or x) axis in character class. |
start.time |
Character string specifying left bound x limit in |
end.time |
Character string specifying right bound x limit in |
... |
Arguments passed on to internal functions. |
Details
start.time
and end.time
arguments must match the time.var.name
column's format for date time.
Value
Plot showing the overall metabolic data
Author(s)
Tyler L. Moulton
See Also
plot
,
strptime
,
get.pcrit
,
MR.loops
,
Examples
## load data ##
data(fishMR)
## create time variable in POSIXct format ##
fishMR$std.time <- as.POSIXct(fishMR$Date.time,
format = "%d/%m/%Y %I:%M:%S %p")
plotRaw(data = fishMR, DO.var.name = "DO.mgL",
start.time = "2015-07-03 06:15:00",
end.time = "2015-07-03 08:05:00")
plotRaw(fishMR, DO.var.name = "DO.mgL",
start.time = "2015-07-03 01:00:00",
end.time = "2015-07-03 05:12:00")
[Package rMR version 1.1.0 Index]