ra_summarise: Function to summarise each raster layer and return results in...

View source: R/ra_summarise.R

ra_summariseR Documentation

Function to summarise each raster layer and return results in a tibble.

Description

Function to summarise each raster layer and return results in a tibble.

Usage

ra_summarise(
  ra,
  f = mean,
  na.rm = TRUE,
  by_layer = TRUE,
  variable_as_date = FALSE,
  tz = "UTC"
)

Arguments

ra

Raster object.

f

Summary function. mean is the default.

na.rm

Should NAs be omitted?

by_layer

Should each layer be summarised?

variable_as_date

Are the variables/names of the ra_drill output dates? If so, the dates will be parsed and the variable renamed.

tz

If variable_as_date is TRUE, what time zone are the dates stored in? This will almost certainly be UTC.

Value

Tibble.

Author(s)

Stuart K. Grange


skgrange/gissr documentation built on Feb. 24, 2024, 2:55 p.m.