cut_projarea_b: Cut area for projection based on a list of SpatialPolygons

View source: R/2.f.proj.prep.R

cut_projarea_bR Documentation

Cut area for projection based on a list of SpatialPolygons

Description

This function is a wrapper for "cut_projarea". See ?cut_projarea It works with a named list of pred.poly to delimit the projection area for each of the species.

Usage

cut_projarea_b(pred.polys, env.uncut, prj.nm = "")

Arguments

pred.polys

list of SpatialPolygons (usually of based on species occ points)

#' @seealso set_projarea, set_projarea_b, cut_projarea, cut_projarea_mscn_b, cut_projarea_rst, cut_projarea_rst_b, cut_projarea_rst_mscn_b

env.uncut

raster/brick of environmental variables to be cut

prj.nm

climatic scenario name, usually "fut" or "past" is used to indicate a general timing of scenario

Value

named list of cropped raster or brick

Examples

## Not run: 
area.projection <- cut_projarea_b(pred.polys, env.uncut)
plot(area.projection[[1]][[1]])

## End(Not run)

HemingNM/ENMwizard documentation built on Jan. 4, 2024, 3:24 p.m.