`KLR_predict_each()` predict probability of presence on a raster or neighborhood. Not exported

KLR_predict_each(rast_stack, ngb, params, progress = progress)

Arguments

rast_stack

[raster stack] either a full study area stack or blocks from within a split stack

ngb

[integer] pixel dimension of focal neighborhood

params

[list] params from fitting process, see `KLR_raster_predict()` examples

progress

[logical] TRUE to show function progress

Value

[raster] a raster of predicted presence

Details

This is an internal function to bridge between `KLR_raster_predict()` and `KLR_predict()`. This takes a raster stack of the study area of blocks, formats that data into the tabular format for prediction, and send the data to `KLR_predict()`.