extract_rSFSW2: Extract raster data for point or cell locations

Description Usage Arguments See Also

Description

Several methods defined for different use cases described below.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
## S4 method for signature 'Raster,vector,character'
extract_rSFSW2(x, y, type, ...)

## S4 method for signature 'Raster,matrix,character'
extract_rSFSW2(x, y, type, ...)

## S4 method for signature 'Raster,data.frame,character'
extract_rSFSW2(x, y, type, ...)

## S4 method for signature 'Raster,SpatialPoints,character'
extract_rSFSW2(x, y, type, ...)

## S4 method for signature 'Raster,Raster,character'
extract_rSFSW2(x, y, type, ...)

## S4 method for signature 'SpatialPolygons,SpatialPoints,character'
extract_rSFSW2(x, y, type, ...)

## S4 method for signature 'character,ANY,character'
extract_rSFSW2(x, y, type, ...)

## S4 method for signature 'SpatialPolygons,SpatialPolygons,character'
extract_rSFSW2(x, y, type, ...)

## S4 method for signature 'SpatialPolygons,vector,character'
extract_rSFSW2(x, y, type, ...)

## S4 method for signature 'SpatialPolygons,matrix,character'
extract_rSFSW2(x, y, type, ...)

Arguments

x

A Raster object from which data are extracted.

y

Locations for which data, provided by x, are extracted.

type

A character string. One of 'point' or 'cell'.

  • If type == "point", then y represents point locations by a two-column matrix or data.frame, by sp::SpatialPoints, or by a numeric vector of cell numbers.

  • If type == "cell", then y represents cells locations, see extract_SFSW2_cells_from_raster.

...

Additional arguments passed to methods.

file_shp

A character string. The filename of the shapefile.

See Also

extract


Burke-Lauenroth-Lab/rSFSW2 documentation built on Aug. 14, 2020, 5:20 p.m.