stmra_partition: Create a spaciotemporal recursive partition of a given domain...

View source: R/partition_spacetime.R

stmra_partitionR Documentation

Create a spaciotemporal recursive partition of a given domain of interest, and assign knots, data, and prediction locations to regions

Description

Create a spaciotemporal recursive partition of a given domain of interest, and assign knots, data, and prediction locations to regions

Usage

stmra_partition(M, r, domain, region_minsize = c(0, 0, 0),
  resolution = c(NA, NA, NA))

Arguments

M

length-one integer, number of partitioning levels

r

length-one integer, number of knots in regions above the last partitioning level

domain

numeric length-6 vector including named(!) elements "xmin", "xmax", "ymin", "ymax", "tmin", "tmax", or RasterStack / RasterBrick

region_minsize

length-3 vector with minimum region size in x, y, and t dimensions (in this order)

resolution

size of pixels in x, y, t dimensions (in this order) or RasterStack / RasterBrick object, used to apply subpixel shifts while placing knots at upper partitioning levels.


appelmar/stmra documentation built on April 12, 2022, 7:22 p.m.