powered by
Minimizes switches without completely re-randomizing the locations.
switchR(dataIn, numqc, numqcM, batchS)
A dataset with switches indicated.
Randomized dataset.
Number of QC samples per set.
Numberof QC matching samples.
New batch size.
serumSwitch <- switchR(dataIn=serumRand,numqc=2,numqcM=2,batchS=43)
Run the code above in your browser using DataLab