Arguments
rast
a matrix containing the pixels to be used in
the texture calculation
n_grey
number of grey levels to use in texture
calculation
window_dims
2 element list with row and column
dimensions of the texture window
shift
a length 2 vector with the number of cells
to shift when computing co-ocurrency matrices
statistics
a list of strings naming the texture
statistics to calculate
na_opt
one of "ignore", "center", or "any"
na_val
what value to use to fill missing values on
edges or where necessary due to chosen na_opt value