plotRaw: Plotting Data from Witrox

Description Usage Arguments Details Value Author(s) See Also Examples

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

1
2
3
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 strptime compatable format.

end.time

Character string specifying right bound x limit in strptime compatable format.

...

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## 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")

tyler-l-moulton/rMR documentation built on May 3, 2019, 1:53 p.m.