linkOldContainers: Links new subjects to old containers

linkOldContainersR Documentation

Links new subjects to old containers

Description

Tests for both containers created by other experiments and for ones created by an experiment of the same name (reloads)

Usage

linkOldContainers(entityData, stateGroups, labelPrefix = NULL,
  stateGroupIndices = NULL, testModeData = NULL)

Arguments

entityData

data.frame: must have columns stringValue, stateGroupIndices, numericValue

stateGroups

a list of state (and label) groups

labelPrefix

a string, often the experiment name. If NULL (default), only exact matches are checked

stateGroupIndices

numeric vector, use to list indices rather than having them automatically be found

testModeData

a data frame of test data, testMode happends when not null

Details

If there are both prefixed and unprefixed labels that match, the prefixed labels will have precedence

Value

a list of two data frames, one with new data and one with old- the old only has subjectID and containerID


mcneilco/racas documentation built on April 19, 2024, 1:12 p.m.