predict_svm_raster: predict SVM to Raster

Description Usage Arguments Value Author(s)

View source: R/prediction.R

Description

This function is to predict the e1071 model object on raster data.

Usage

1
predict_svm_raster(r, model, factors = NULL, filename = NULL)

Arguments

r

a raster file

model

svm model from e1071 package

factors

factor variables in the model

filename

output file directory for the predicted map. If provided, the map will be save on the disk.

Value

a raster file for prediction

Author(s)

Roozbeh Valavi


rvalavi/myspatial documentation built on May 15, 2021, 12:14 a.m.