background.raster.buffer {ENMTools}R Documentation

Takes a set of points, a buffer radius, and a mask and returns a raster based on that buffer radius. Code modified from Elith and Hijmans SDM with R tutorial

Description

NOTE: This function has been replaced by background.buffer.

Usage

background.raster.buffer(points, radius, mask)

Arguments

points

A two column data frame with X and Y coordinates

radius

Radius for circular buffers to draw around points, in meters.

mask

A raster to use as a mask

Value

A raster object with values of 1 in every grid cell falling within the buffer.

Examples

library(ENMTools)
background.raster.buffer(iberolacerta.clade$species$cyreni$presence.points, 100000, euro.worldclim)

[Package ENMTools version 1.1.2 Index]