Return appropriate types
noamross opened this issue · 1 comments
noamross commented
Right now ratsterize()
data is always double
it should be integer, vector, or logical if the input data is.
noamross commented
Factors should be handled as well, with transferring of appropriate levels and types. Errors should be thrown when factors are used with inappropriate functions(sum, min, max, etc.)