raster_to_tibble: raster_to_table

Description Usage Arguments Value

View source: R/utility_functions.R

Description

Converts a raster to a tibble with x, y, mydate and raster value

Usage

1
raster_to_tibble(rast, add_pg_index = FALSE)

Arguments

rast

a raster object

add_pg_index

boolean, whether to add a pgid column or not.

Value

A tibble with columns x, y, and value.


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