studyArea: Extract the studyArea(s) from a 'map'

studyAreaR Documentation

Extract the studyArea(s) from a map

Description

If layer is not provided and there is more than one studyArea, then this will extract the last one added.

Usage

studyArea(map, layer = NA, sorted = FALSE)

## S4 method for signature 'ANY'
studyArea(map, layer = NA, sorted = FALSE)

## S4 method for signature 'map'
studyArea(map, layer = NA, sorted = FALSE)

studyArea(map, layer = NA) <- value

## S4 replacement method for signature 'map'
studyArea(map, layer = NA) <- value

Arguments

map

TODO: document this

layer

TODO: document this

sorted

Logical. Should the numeric layer be referring to geographic area of the area or the order that the studyArea were placed into map object

value

The value to assign to the object.

See Also

Other mapMethods: area,map-method, crs,map-method, mapRm(), rasterToMatch,map-method, rasters(), studyAreaName()

Other mapMethods: area,map-method, crs,map-method, mapRm(), rasterToMatch,map-method, rasters(), studyAreaName()

Other mapMethods: area,map-method, crs,map-method, mapRm(), rasterToMatch,map-method, rasters(), studyAreaName()

Other mapMethods: area,map-method, crs,map-method, mapRm(), rasterToMatch,map-method, rasters(), studyAreaName()


PredictiveEcology/map documentation built on Nov. 11, 2023, 11:44 a.m.