raster_to_points: raster_to_points

Description Usage Arguments Details Value Examples

Description

Raster to points

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
raster_to_points(landscape, return_NA)

## S3 method for class 'RasterLayer'
raster_to_points(landscape, return_NA = TRUE)

## S3 method for class 'RasterStack'
raster_to_points(landscape, return_NA = TRUE)

## S3 method for class 'RasterBrick'
raster_to_points(landscape, return_NA = TRUE)

## S3 method for class 'stars'
raster_to_points(landscape, return_NA = TRUE)

## S3 method for class 'list'
raster_to_points(landscape, return_NA = TRUE)

Arguments

landscape

Raster* Layer, Stack, Brick or a list of rasterLayers.

return_NA

If true, NA cells are also included

Details

Wrapper around raster::xyFromCell and raster::getValues to get raster_to_points function including NA values

Value

matrix

Examples

1

r-spatialecology/landscapemetrics documentation built on May 20, 2019, noon