predict_gbev {gbev}R Documentation

Predictions from boosted tree model.

Description

Returns value of fitted function at given points.

Usage

predict_gbev(object,newdata,latent=TRUE,firstTree=NULL,lastTree=NULL)

Arguments

object A fitted object of type gbev.object.
newdata A data frame from which predictions are made.
latent If TRUE the value of the fitted function between the error-free (but unobserved) covariates and the response is returned, if FALSE nothing happens.
firstTree Index of first tree from which predictions are computed. Defaults to 1.
lastTree Index of last tree from which predictions are computed. Defaults to number of trees in fitting.

Value

pred the predictions/function evaluations.


[Package gbev version 0.1.1 Index]