View source: R/raster_predict_funs.R
| split_raster_stack | R Documentation | 
Internal function to used by 'KLR_raster_predict()' split input rasters into overlapping blocks for prediction.
split_raster_stack(rast_stack, ppside, ngb, split = TRUE)
rast_stack | 
 [raster stack] a stack of the prediction rasters scaled to the the input training parameters.  | 
ppside | 
 [integer] the number of blocks to split the study area into if 'split' == TRUE  | 
ngb | 
 [integer] the width and height in raster cell units of roving focal window.  | 
split | 
 [logical] TRUE/FALSE for whether to split raster into chunks. If 'parallal' == TRUE, then 'split' must == TRUE  | 
'split_raster_stack()' takes a raster stack, creates a grid of 'ppside' pixels, adds a collar, clips out each raster, and returns a list
[list] a list of raster chips
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.