raster_to_pgtibble: Convert a pgraster to tabular format

View source: R/utility.R

raster_to_pgtibbleR Documentation

Convert a pgraster to tabular format

Description

Convert a pgraster to tabular format

Usage

raster_to_pgtibble(r)

Arguments

r

An input raster that must have the same projection, resolution, and extent as PRIO-GRID

Value

tibble

Examples

pg <- prio_blank_grid()
names(pg) <- "test"
raster_to_pgtibble(pg)

prio-data/priogrid documentation built on June 14, 2025, 11:06 p.m.