Remove NA points features and drop corresponding raster stack layers

rm_na_pointslayers(param_name, sf_ob, rstack)

Arguments

param_name

character name of data column

sf_ob

sf object with point geometries

rstack

RasterStack or RasterBrick