extr_sedmap_data: Extract sedmap data

Description Usage Arguments Value

View source: R/extract-sf.R

Description

Extract sedmap data

Usage

1
2
3
4
5
extr_sedmap_data(rst, sf, select_rst = NULL, select_sf = NULL,
  output = c("summaries", "csv", "raster"), fun = c("mean", "min",
  "max", "median", "sd"), sf_crs = FALSE, out_dir,
  rst_out_format = c("stack", "tiff"), select_sf_csv = FALSE,
  attributes, varnames)

Arguments

rst

sedmaps data raster stack

sf

extraction simple feature

select_rst

raster layers to be extracted

select_sf

sf layers to use for extraction

output

character vector of extraction output formats

fun

summary functions to apply for each data x extraction layer. sd ignored for points

sf_crs

whether output data should be converted to the sf crs

out_dir

path to output directory

rst_out_format

whether raster data should be return as a .grd raster stack or individual geoTIFF layers

select_sf_csv

whether to additionally include extraction sf metadata as in .csv format

attributes

dataspice attributes table

varnames

varnames list

Value

outputs written out to out_dir.


annakrystalli/sedMaps documentation built on June 22, 2021, 1:11 a.m.