drift_plot: Baseline drift correction inspetion plot

Description Usage Arguments Details Value Examples

View source: R/drift_plot.R

Description

This function provides a basic plot of the different spline and linear interpolation fits for the visual inspection of the data.

Usage

1
drift_plot(dat, dat2, val)

Arguments

dat

dataframe containing spline fits of respirometry data, this is the output from the baseline_corr function

val

the channel being drift correct, e.g. "Oxygen"

dat1

dataframe containing the baseline fit data, this is the output from the base_bg_rect function

Details

This is a generic function:

Value

a dataframe containing drift correct oxygen and carbon dioxide data corrected using a spline fit

Examples

1
drift_plot (o2_corr, base_rect, "Oxygen")

trollock/respiratoR documentation built on Nov. 27, 2019, 2:35 p.m.