R/UDStack.R

setGeneric("UDStack", function(x,...){standardGeneric("UDStack")})
setMethod("UDStack", 
          signature="RasterStack",
          definition=function(x,method="unknown",...){
            new(".UDStack",x, method=method)
          })
setMethod("UDStack", 
          signature="RasterBrick",
          definition=function(x,method,...){
            callGeneric(stack(x),...)
          })

Try the move package in your browser

Any scripts or data that you put into this service are public.

move documentation built on Jan. 16, 2017, 2:22 a.m.