View source: R/partition_spacetime.R
stmra_partition | R Documentation |
Create a spaciotemporal recursive partition of a given domain of interest, and assign knots, data, and prediction locations to regions
stmra_partition(M, r, domain, region_minsize = c(0, 0, 0), resolution = c(NA, NA, NA))
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.