extractRaster: Extract values on Raster map. The line is a straight line...

Description Usage Arguments Examples

View source: R/Func_GIS.R

Description

Extract values on Raster map. The line is a straight line between (0,1). extractRaster

Usage

1
extractRaster(r, xy = NULL, ext = raster::extent(r), plot = T)

Arguments

r

Raster

xy

coordinates of the line, dim=(Npoints, 2); x and y must be in [0, 1]

ext

extension of value xy.

plot

Whether plot result.

Examples

1
library(raster)

happynotes/PIHMgisR documentation built on Jan. 25, 2020, 9:51 p.m.