getType function

Determines the type vector for an input data set.