extract_matrix: extract_matrix

Description Usage Arguments

View source: R/extract_matrix.R

Description

extract_matrix

Usage

1
extract_matrix(matrix, coords, raster_extent, raster_res)

Arguments

matrix

a matrix created from a Raster layer

coords

a 2 column matrix/dataframe with the x and y coordinates in same projection as the Raster layer

raster_extent

an extent object. contains xmin, xmax, ymin, ymax of the Raster layer the matrix was created from

raster_res

a vector with 2 values indicating the x and y resolution of each Raster cell


hmcdevitt/spExtract documentation built on July 13, 2020, 2:11 p.m.