sortData: Sort results data

Description Usage Details

Description

Function that sorts the data according to a criterion. Not to be called directly by the user.

Usage

1
2
sortData(data, sortMethod = "BEA", nUNITS, DATES.COLUMN.FIRST,
  DATES.COLUMN.LAST, TEST.RESULT.LEVELS)

Details

Function is called by the plotTests function, to sort the data before it starts working on it. Different methods of sorting can be used. "DateIn" sorts by the date of admission. "BEA" uses seriation package and Bond Energy Algorithm. "BEA_TSP" as above with TSP to optimize the measure of effectivenes. "PCA" uses seriation package First principal component algorithm.


crtahlin/medplot documentation built on May 14, 2019, 12:05 p.m.