default_template: Retrieve a raster template that covers the provided mesh

View source: R/raster.R

default_templateR Documentation

Retrieve a raster template that covers the provided mesh

Description

Retrieve a raster template that covers the provided mesh

Usage

default_template(x, res = c(0.01, 0.01), crs = sf::st_crs(x), value = NA_real_)

Arguments

x

the mesh geometry

res

a one or two element numeric of the cell resolution. If one element then it is used in x and y directions.

crs

character string of the mesh

value

numeric, the value to assign to cells

Value

a raster layer


BigelowLab/fvcom documentation built on Nov. 8, 2024, 2:24 p.m.