conv_to_grid: Convert 'SpatialPolygons' object to a grid

Description Usage Arguments

Description

Convert SpatialPolygons object to a binary grid. Grid boxes whose centers are part ofthe SpatialPolygons are given value 1 and all other grid boxes are given value 0. Land values are set to NA.

Usage

1
conv_to_grid(x, my_land_mat = land_mat)

Arguments

x

SpatialPolygons object

my_land_mat

binary matrix specifying land locations


IceCast documentation built on June 24, 2019, 9:03 a.m.