lbusett / sprawl

sprawl - Spatial Processing (in) R: Amorphous Wrappers Library
https://lbusett.github.io/sprawl/
GNU General Public License v3.0
7 stars 1 forks source link

add `na. value` argument to `extract_rast` #45

Closed lbusett closed 7 years ago

lbusett commented 7 years ago

extract_rast should take an additional argument allowing to specify an additional value to be treated as NA.

lbusett commented 7 years ago

AT beginning of function, either NAvalue(in_rast) <- na.value OR in_rast[value == na.value] <- NA

lbusett commented 7 years ago

Done.