powered by
Raster to points
raster_to_points(landscape, return_NA = TRUE)
matrix
Raster* Layer, Stack, Brick, SpatRaster (terra), stars, or a list of rasterLayers.
If true, NA cells are also included
Wrapper around raster::xyFromCell and raster::getValues to get raster_to_points function including NA values
raster_to_points(landscape)
Run the code above in your browser using DataLab