Description Usage Arguments Value Author(s)
View source: R/machine_predictor.R
This functions applies one machine learning model on a given rasterstack
1 2 3 4 5 6 7 | machine_predictor(
rstack,
mmodel,
additionalRaster = FALSE,
type = FALSE,
index = FALSE
)
|
rstack |
list containing an raster stack with covariables for prediction based on the mmodel |
mmodel |
machine learning model |
additionalRaster |
rasters that are identical in each time step and should be added to each rasterstack |
type |
character string containing type of prediction (e.g. "prob" for probability); default to FALSE |
index |
in case of type = "prob" the index of the parameter of which the probability shold be returned |
stack with one prediction for each element of the input list
Wolfgang Hamer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.