Learn R Programming

SDMtune (version 1.3.2)

predict,RF-method: Predict RF

Description

Predict the output for a new dataset from a trained RF model.

Usage

# S4 method for RF
predict(object, data, type, clamp)

Value

A vector with the predicted probabilities of class 1.

Arguments

object

RF object.

data

data.frame with the data for the prediction.

type

Not used.

clamp

Not used.

Author

Sergio Vignali

Details

Used by the predict,SDMmodel-method, not exported.