Learn R Programming

SDMtune (version 1.3.2)

predict,BRT-method: Predict BRT

Description

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

Usage

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

Value

A vector with the predicted values.

Arguments

object

BRT 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.

The function uses the number of tree defined to train the model and the "response" type output.