Skip to contents

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

Usage

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

Arguments

object

BRT object.

data

data.frame with the data for the prediction.

type

Not used.

clamp

Not used.

Value

A vector with the predicted values.

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.

Author

Sergio Vignali