ecohealthalliance/fasterize

Return appropriate types

noamross opened this issue · 1 comments

Right now ratsterize() data is always double it should be integer, vector, or logical if the input data is.

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.)