predict_raster: Spatial model predictions

Description Usage Arguments Value

View source: R/predict_parallel.R

Description

Spatial model predictions

Usage

1
2
predict_raster(x, model, ncores, predict_package = NULL, stack = FALSE,
  filename = NULL, ...)

Arguments

x

Raster object with predictor layers

model

Model object

ncores

Number of cores used for paralellization

predict_package

Optional. Name of package used for prediction.

stack

whether to return a stack with all dimensions (e.g., classes) of prediction

filename

Optional. filename for writing raster to disk.

...

Arguments passed on to predict function (e.g. type argument)

Value

A raster layer with model predictions


juoe/spatialtoolbox documentation built on May 7, 2019, 9:37 a.m.