Determines the best data type to implement when writing the raster to file
Usage
dataTypeCheck(r)
Arguments
r
raster object
Author
Pascal Title
Details
Function to determine the most memory efficient data type given whether
or not the raster contains integer or non-integer values,
and the range of those values, based on the definitions described
in dataType.