Remove NA SpatialPointsDataFrame features and drop correspoding raster stack layers

Share:

Description

Remove NA SpatialPointsDataFrame features and drop correspoding raster stack layers

Usage

1
rm_na_pointslayers(param_name, spdf, rstack)

Arguments

param_name

character name of data column

spdf

SpatialPointsDataFrame object

rstack

RasterStack or RasterBrick