raster_to_points: raster_to_points

View source: R/raster_to_points.R

raster_to_pointsR Documentation

raster_to_points

Description

Raster to points

Usage

raster_to_points(landscape, return_NA = TRUE)

Arguments

landscape

Raster* Layer, Stack, Brick, SpatRaster (terra), stars, 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

raster_to_points(landscape)


landscapemetrics documentation built on March 31, 2023, 7:28 p.m.