Description Usage Arguments Details Value Examples
Calculates rate of oxygen uptake in flowthrough respirometry given a flowrate and both inflow and outflow oxygen concentrations. Can return a single value, or multiple and mean values based on continuous data.
1 2 
x 
data frame or object of class 
time 
numeric. Defaults to NULL. This specifies the time column if a data frame is provided. Otherwise, this is a numeric vector for time data. 
inflow.o2 
numeric. Defaults to NULL. This specifies the inflow O2 column if a data frame is provided. Otherwise, this is a numeric vector for inflow oxygen concentration. 
outflow.o2 
numeric. Defaults to NULL. This specifies the outflow O2 column if a data frame is provided. Otherwise, this is a numeric vector for outflow oxygen concentration. 
flowrate 
numeric vector. The flow rate. No unit of measurement is
expected; you will specify it when you perform conversions later in

plot 
logical. Defaults to TRUE. Plots the data. 
There are no units involved in calc_rate.ft
. This is a deliberate decision.
Units are called in a later function when volumetric and/or massspecific
rates of oxygen use are computed in convert_rate()
and convert_DO()
.
An object of class "calc_rate.ft".
1 2 3 4 5 6 7 8 9 10  # Single numeric values
calc_rate.ft(inflow.o2 = 8.88, outflow.o2 = 8.17, flowrate = 0.000039)
# Numeric values and vector
calc_rate.ft(inflow.o2 = 8.88, outflow.o2 = flowthrough.rd$o2.out,
flowrate = 0.000039)
# Vectors
calc_rate.ft(inflow.o2 = flowthrough.rd$o2.in,
outflow.o2 = flowthrough.rd$o2.out, flowrate = 0.000039)
# A data frame
calc_rate.ft(flowthrough.rd, time = 1, outflow.o2 = 2, inflow.o2 = 3, flowrate = 0.00039)

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.