mask_gd: Mask moving window maps

View source: R/mask_gd.R

mask_gdR Documentation

Mask moving window maps

Description

Mask genetic diversity layer produced by window_gd or krig_gd

Usage

mask_gd(x, y, minval = NULL, maxval = NULL)

Arguments

x

Raster object to mask

y

Raster object or Spatial object to use as mask

minval

if y is a Raster object, value of y below which to mask

maxval

if y is a Raster object, value of y above which to mask

Value

RasterLayer

Examples

data("mini_lyr")
mpi <- mask_gd(mini_lyr, mini_lyr, minval = 0.01)


wingen documentation built on May 29, 2024, 9:59 a.m.