The makesingleSC function combines multiple singlecase data frames into one singlecase data frame.
1  makesingleSC(data, scale = FALSE, type = "add")

data 
A vector with measurements, a data frame or a list of data frames. 
scale 
Unused 
type 
By default values with the same measurement are added. If type is set to "mean" or "median", values of the same measurement are replaced with their mean or median. Default is "add". 
The algorithm works the following way:
All values of each singlecase are centred with respect to each case's phase A mean.
The phase A values of all singlecases are combined in ascending order of their measurement times.
The phase B values of all singlecases are combined in ascending order of their measurement times.
Phase B values are appended to phase A values. The measurement times of phase B are shifted to start with the next MT after the end of phase A.
Juergen Wilbert
makeSCDF
, longSCDF
, writeSC
1 2 3 4 
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.