rc_rep_diff: Take differences for each sequential pair of replicate...

View source: R/rc_rep_diff.R

rc_rep_diffR Documentation

Take differences for each sequential pair of replicate variables

Description

For each variable root supplied, all variables containing the root in the record data will be collected and a new column containing difference values for each sequential pair will be created. Columns containing '_diff' in the name will automatically be excluded.

Usage

rc_rep_diff(record_data, var_roots)

Arguments

record_data

A raw data export from REDCap.

var_roots

A vector of root names which are common and unique to all of the associated technical replicates.

Author(s)

Marcus Lehr


chillywings/rctools documentation built on Aug. 9, 2024, 11:52 p.m.