fill_multiplex: Replaces missing multiplexer channel values

Description Usage Arguments Details Value Examples

View source: R/fill_multiplex.R

Description

Replaces missing values that are typically from Expedata multiplexer output with the actual sample channel data.

Usage

1
fill_multiplex(dat, col, value, base)

Arguments

dat

dataframe containing respirometry data

col

column containing the information on multiplexer chambers

value

The values in the original dataframe that are uninformative e.g. (-999 or NA) that will be replaced with the actual sampled chamber value for each row. This accepts single or multiple values (see examples below).

baseline

the value for the baseline channel

Details

This is a generic function:

Value

The original dataframe with formatted and corrected multiplexer channel IDs

Examples

1
2
fill_multiplex(test_resp, Oxygen, -1, 66)
fill_multiple(test_resp, Oxygen, c(-1,-999), 66)

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