logical, returns kit index if TRUE or short name if FALSE.
debug
logical, prints debug information if TRUE.
Value
integer or string indicating the detected kit.
Details
The function first check if there is a 'kit' attribute for the dataset.
If there was a 'kit' attribute, and a match is found in getKit
the corresponding kit or index is returned.
If an attribute does not exist the function looks at the markers
in the dataset and returns the most likely kit(s).