predict,BRT-method {SDMtune}R Documentation

Predict BRT

Description

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

Usage

## S4 method for signature '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.

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.

Value

A vector with the predicted values.

Author(s)

Sergio Vignali


[Package SDMtune version 1.3.1 Index]