grd_resample_nearest: Resample grid objects

Description Usage Arguments Value

View source: R/resample.R

Description

Resample grid objects

Usage

1
grd_resample_nearest(grid, template, trans = wk_affine_identity(), ...)

Arguments

grid

A grd_xy(), grd_rct(), or other object implementing grd_*() methods.

template

A grid whose bbox, nrow(), and ncol() will be used to determine the bbox, nrow(), and ncol() of the output.

trans

An external pointer to a wk_trans object

...

Passed to S3 methods

Value

A grid with the same class, bbox, nrow(), and ncol() as template.


paleolimbot/grd documentation built on Dec. 22, 2021, 6:38 a.m.