raster_points: Raster points

Description Usage Value

View source: R/raster_functions.R View source: R/pgfunctions.R

Description

Converts a raster to a set of points, optionally removing missing values.

Simple function that returns a raster as a sf set of points

Usage

1
2
3
raster_points(raster, na.rm = TRUE)

raster_points(raster, na.rm = TRUE)

Value

An sf with column val = values(raster)


prio-data/priogrid documentation built on June 28, 2021, 5:34 a.m.